April 2001
Intermediate to advanced
112 pages
2h 15m
English
xml:space
xml:space="default|preserve”
The xml:space attribute
indicates whether any whitespace inside the element is significant
and should not be altered by the XML processor. The attribute can
take one of two enumerated values:
preserve
The XML application preserves all whitespace (newlines, spaces, and tabs) present within the element.
default
The XML processor uses its default processing rules when deciding to preserve or discard the whitespace inside the element.
You should set xml:space
to preserve only if you want an element to behave
like the HTML pre element, such as when it
documents source code.
Read now
Unlock full access