Changes

Jump to navigation Jump to search
23 bytes added ,  14:05, 14 October 2011
no edit summary
In BaseX, a single database contains an arbitrary number of '''resources'''.
By default, all resources are have been '''XML documents'''. Since {{Version|7.0}},however, '''raw files''' (binaries) can be stored as well.
==Create/Drop Database==
The stored resources can be accessed in different ways:
====XML Documents====
Various XQuery functions exist to access the XML documents in databases and other locations:
* <code>doc("path/to/document.xml")</code>: returns a single document found at the specified location (file path or URL). If a database already exists for the addressed resource, it is opened instead.
====Raw Files====
* The <code>[[Commands#RETRIEVE|RETRIEVE]]</code> command returns raw files without modifications.
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu