Difference between revisions of "Serialization"
Jump to navigation
Jump to search
(Created page with "Serialization parameters define how XQuery items and XML nodes are textually output, i.e., ''serialized''. They have been formalized in the [http://www.w3.org/TR/xquery-30/#id-se...") |
|||
Line 3: | Line 3: | ||
In BaseX, they can be specified in several ways: | In BaseX, they can be specified in several ways: | ||
− | * by using the <code>-s</code> flag of the [[Startup_Options# | + | * by using the <code>-s</code> flag of the BaseX [[Startup_Options#BaseX|command-line]] clients, |
* by setting the [[Options#Query options|SERIALIZER]] option before running a query, | * by setting the [[Options#Query options|SERIALIZER]] option before running a query, | ||
* by setting the [[Options#Query options|EXPORTER]] option before exporting a database, | * by setting the [[Options#Query options|EXPORTER]] option before exporting a database, |
Revision as of 00:27, 6 February 2011
Serialization parameters define how XQuery items and XML nodes are textually output, i.e., serialized. They have been formalized in the W3C Serialization document. In BaseX, they can be specified in several ways:
- by using the
-s
flag of the BaseX command-line clients, - by setting the SERIALIZER option before running a query,
- by setting the EXPORTER option before exporting a database,
- by setting them via the Output Parameter of the JAX-RX API,
- by including them in the prolog of the XQuery expression (since XQuery 3.0), or
- by specifying them in the XQuery function file:write().