Changes

Jump to navigation Jump to search
5 bytes added ,  12:18, 9 August 2023
In addition, databases may considerably increase in size, as whitespaces used for indenting an XML document will be interpreted and stored as additional text nodes. If your XML resources are structured and have no [[Full-Text#Mixed Content|mixed content]], it is advisable to enable whitespaces stripping when importing them to a database.
Note that {{Option|STRIPWS}} only applies to stored XML and not to XML constructed within XQuery source files. Within XQuery sources code, the standard {{Code|boundary-space}} setting applies. This defaults to {{Code|strip}}. To preserve XML whitespace in XQuery source modules, add the following to the prolog:
<syntaxhighlight lang="xquery">
declare boundary-space preserve;
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu