Difference between revisions of "Serialization"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
Serialization parameters define how XQuery items and XML nodes are textually output, i.e., ''serialized''. | 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 | + | They have been formalized in the [http://www.w3.org/TR/xslt-xquery-serialization-30 W3C XSLT and XQuery Serialization 3.0] document. |
In BaseX, they can be specified in several ways: | In BaseX, they can be specified in several ways: | ||
Revision as of 00:28, 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 XSLT and XQuery Serialization 3.0 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().