Changes

Jump to navigation Jump to search
no edit summary
|- valign="top"
| {{Code|indent}}
| Adjusts Adds leading whitespaces to make the output better more readable.
| {{Code|yes}}, {{Code|no}}
| {{Code|no}} {{Announce|Default changed with Version 10}}
|- valign="top"
| {{Code|standalone}}
| Prints or omits the "{{Code|standalone" }} attribute in the XML declaration.
| {{Code|yes}}, {{Code|no}}, {{Code|omit}}
| {{Code|omit}}
=Character mappings=
Character maps allow a specific character in the instance of the data model to be replaced with a specified string of characters during serialization. The string that is substituted is output "as “as is," ” and the serializer performs no checks that the resulting document is well-formed. This may only occur in documents parsed with {{Code|parameter-document}}. If a character is mapped, then it is not subjected to XML or HTML escaping. For details , refer to section [https://www.w3.org/TR/2015/CR-xslt-xquery-serialization-31-20151217/#character-maps 11 Character maps] in the [https://www.w3.org/TR/xslt-xquery-serialization-31 W3C XQuery Serialization 3.1] document.
This example maps the Unicode U+00A0 NO-BREAK SPACE as   (without the serialization parameter, the Unicode character would be output):
Bureaucrats, editor, reviewer, Administrators
12,957

edits

Navigation menu