Database Reference
In-Depth Information
created= "2012-09-13T08:18:25.088+02:00"
last-modified= "2012-09-13T08:18:25.088+02:00" owner= "guest"
group= "guest" permissions= "rw-rw-rw-" />
<exist:resource name= "test.pdf"
created= "2012-09-13T08:18:29.9+02:00"
last-modified= "2012-09-13T08:18:29.9+02:00" owner= "guest"
group= "guest" permissions= "rw-rw-rw-" />
</exist:collection>
</exist:result>
• If the remainder of the URL points to a file (XML or otherwise), the contents of
the file are returned using the Internet media type stored in the database.
• If the remainder of the XML points to an XQuery script (Internet media type
application/xquery ) with execute permission, it will be executed and the results
returned.
A GET request accepts the following parameters:
_xsl=xsl-stylesheet-reference | no
Applies an XSLT stylesheet to the result of getting an XML resource or executing
an XQuery script. The path is considered an internal database path, unless it con‐
tains an external URI (e.g., starts with http:// ). Setting this parameter to no disa‐
bles all stylesheet processing.
Applying an XSLT stylesheet in this manner always changes the
response's Internet media type to text/html .
_indent=yes | no
Specfies whether to indent (pretty-print) the returned XML. The default is yes .
_encoding=character-encoding
Indicates the character encoding to use. The default is UTF-8 .
_query=XQuery-expression
Executes the given XQuery expression on the result.
_howmany=number-of-items
When you pass a query by the _query parameter and the result is a sequence,
specifies how many items to return from the sequence. The default is 10 .
Search WWH ::




Custom Search