Skip to end of metadata
Go to start of metadata

Many XML parsers have switches to turn on DTD validation.

Suppose we have the following XML:

We can parse this document with validation turned on using the XmlParser as follows:

Or using the XmlSlurper as follows:

Or using the DOMBuilder as follows:

  • No labels