Supported XML features
The XML codec can convert messages that contain the following:
![*](chapterTOC_bullet.png)
Elements
![*](chapterTOC_bullet.png)
Attributes
![*](chapterTOC_bullet.png)
Text nodes
![*](chapterTOC_bullet.png)
CDATA nodes, including CDATA nodes that contain an XML document to be parsed
CDATA nodes are supported only in the downstream direction.
![*](chapterTOC_bullet.png)
Namespace prefixes and definitions (only basic support)
![*](chapterTOC_bullet.png)
XPath expressions, including functions
Result types of XPath expressions must be simple. For example,
string contains();
The XML codec cannot convert XML data that contains the following XML features:
![*](chapterTOC_bullet.png)
Document type specifiers
![*](chapterTOC_bullet.png)
Processing instructions
![*](chapterTOC_bullet.png)
Notations and entities
![*](chapterTOC_bullet.png)
XML with more than one top-level (root) element
![*](chapterTOC_bullet.png)
Node or nodeset XPath expressions
For Node or nodeset XPath expressions, only the first match is returned.