Integration Platform Technologies: Siebel Enterprise Application Integration > Siebel Virtual Business Components > XML Gateway Service >
About Handling White Space
White space is handled by the XML parser while processing the request from the XML Gateway business service. When the white space is part of the XML syntax, it must be discarded by the XML parser and not preserved (passed on to the processing application). If the white space is in any other location (such as in element content within a document), then it must be preserved according to the XML specification, because it might have some meaning.
Or this example:
are different to an XML parser.
To preserve white space, use the
xml:space attribute with the value
preserve, for example:
<mytag>stuff and more stuff</mytag>
The value of
xml:space applies to all children of the element containing the attribute unless overridden by one of the children.
For more information on white space handling and the
xml:space attribute, see Microsoft Developer Network (http://msdn.microsoft.com).