Startup argument reference > X > -xmlwhitespacenodes

-xmlwhitespacenodes
 
-xmlwhitespacenodes include|ignore
Using -xmlwhitespacenodes ignore causes the XMLIN parser to ignore all “white space only” nodes in the XMLIN DOM, which means the size of the DOM tree can be reduced significantly.
Using -xmlwhitespacenodes include causes the XMLIN parser not to ignore any nodes. This is the default server behavior, and is the same as not using the -xmlwhitespacenodes startup argument.
-xmlwhitespacenodes ignore
Example 1
Input document:
<?xml version="1.0"?>
<root>
  <doc>
    <field>value</field>
    <other>
        Value
    </other>
  </doc>
</root>
Document parsed when -xmlwhitespacenodes ignore is used:
<?xml version="1.0"?>
<root><doc><field>value</field><other>
        Value
    </other></doc></root>
All nodes that only contain whitespace have been removed. Nodes that contain both whitespace and non-whitespace are still included.
 
OpenText StreamServe 5.6 Updated: 2013-03-01