Creating XML with Groovy and XOM Add comment to Wiki View in Wiki Edit Wiki page Printable Version

Here is an example of using XOM to create a new XML file:

We have used XMLUnit to compare the XML we created with our sample XML. To do this, make sure the sample XML is available, i.e. that the following class is added to your CLASSPATH:

XmlExamples.groovy

You may also want to see Using MarkupBuilder for Agile XML creation.

 

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