June 1999
Intermediate to advanced
540 pages
21h 39m
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 honors all whitespace (new lines, spaces, and tabs) present within the element.
default
The XML processor is free to do whatever it wishes with the whitespace inside the element.
You should set xml:space to preserve only if you have an
element you wish to behave similar to the HTML <pre>
element, such as documenting source code.
Read now
Unlock full access