Validating XML with a DTD
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:
Search
Results of your search request can come from various sources: the Groovy website itself,
the JIRA issues, the API documentation, as well as a few other interesting Groovy-related blogs.
|
|
![]()
By
- pages
- views
- last modified
|