The simple-xml module provides basic XML parsing and navigation. It only supports character data and start, end, and empty-element tags. The module does not support entities, comments, CDATA sections, or processing instructions. Entities are treated as literal character data, and any other markup will likely produce an error.
Therefore, this module can parse some well-formed XML documents, but cannot parse any valid XML documents, as valid documents contain a document type declaration.
The simple-xml module provides basic XML parsing and navigation. | |