The XML domains can be used for
modeling messages conforming to the W3C XML standard.
Each of the three XML domains can be used to model
W3C XML messages.
- XMLNSC domain
- This domain may be used for any XML message, including those that use
XML namespaces. The accompanying parser reduces the amount of memory taken
up by the logical message tree created from the parsed message. Its default
behavior is to discard non-significant whitespace and mixed content, comments,
processing instructions and embedded DTDs, though controls are provided to
retain mixed content, comments and processing instructions if desired.
- XMLNS domain
- If the XMLNSC domain does not meet your requirements, use this namespace-aware
domain.
- XML domain
- This domain is not namespace aware and is provided for compatibility with
earlier releases of WebSphere Message Broker.
The MRM domain is also capable of processing XML
messages, and there are significant advantages in using the MRM domain for
XML. See XML messages in the MRM and XML domains for more
information.
Note that it is not essential to model messages that are
processed by the XML domains. WebSphere Message Broker parses
such messages without reference to any message model. However, there are several
advantages in modeling such messages, which are described in the Why model messages? topic area