Changes

Jump to navigation Jump to search
544 bytes added ,  23:46, 25 April 2012
====XML Documents====
Various XQuery functions exist to access the XML documents in databases and other locations{{Mark|Updated with Version 7.2.1:}}
Various XQuery functions exist to access XML documents in databases and from other locations: * <code>{{Mono|db:open("dbname", "pathPATH/toTO/docsDOCS")</code>}}: (only) returns documents that are found in the specified databaseat the specified (optional) path.* <code>{{Mono|collection("pathPATH/toTO/docsDOCS")</code>}}: returns the all documents that are either found at the location {{Mono|TO/DOCS}} in the database specified in {{Mono|PATH}}. If the addressed database does not exist, or if the argumentdoes not start with a valid database name, the string is interpreted as URI reference, or and the documents found at the specified this location (file path or URL)will be returned.* <code>{{Mono|doc("pathPATH/toTO/documentDOC.xmlXML")</code>}}: returns a single the document found at the specified location (file path or URL){{Mono|TO/DOC.XML}} in the database {{Mono|PATH}}. If the addressed database does not exist, or if the argument does not start with a valid database already exists name, the string is interpreted as URI reference, and the document found at this location will be returned. The {{Mono|fn:document-uri()}} and {{Mono|fn:base-uri()}} functions returns paths that can be reused as arguments for the addressed resource, it is opened instead{{Mono|fn:doc()}} and {{Mono|fn:collection()}} functions.
====Raw Files====
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu