IBM Integration Bus, Version 10.0.0.2 Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS


XMLNSC message tree options

The XMLNSC options that are described in this section affect the parsing of an XML document by the XMLNSC parser. They have no effect on XML output.

Retain Mixed Content

Mixed content is XML text which occurs between elements.
 <parent>
      <childElement1>Not mixed content</childElement1>
 	    This text is mixed content
      <childElement2>Not mixed content</childElement2>
 </parent> 
By default, the XMLNSC parser discards all mixed content. Mixed content is retained in the message tree if you select Retain mixed content in the Parser options page of the input node. For further information, see 'Element with mixed content' in XMLNSC: Element values and mixed content .

Retain Comments

By default, the XMLNSC parser discards all comments in the input XML. Comments are retained in the message tree if you select Retain comments in the Parser options page of the input node. For further information, see 'Comments' in XMLNSC: Comments and Processing Instructions .

Retain Processing Instructions

By default, the XMLNSC parser discards all processing instructions in the input XML. Processing instructions are retained in the message tree if you select Retain processing instructions in the Parser options page of the input node. For further information, see 'Processing Instructions' in XMLNSC: Comments and Processing Instructions .

Build tree using XML Schema data types

By default, the XMLNSC parser uses the CHARACTER data type for all element and attribute values that the parser creates in the message tree. However, if you are using the XMLNSC parser to validate the XML document, you can select Build tree using XML Schema data types in the Parser options page of the input node. This causes element and attribute values to be cast to the IBM® Integration Bus data type that most closely matches their XML Schema simple type. The exact mapping between XML schema types and IBM Integration Bus types can be found in XMLNSC data types.


ad67030_.htm | Last updated 2015-09-24 12:52:34