The XML Maven Plugin
This Plugin is a collection of several XML related tasks.
Goals Overview
The plugin offers the following goals:
- xml:validate validates XML files against a schema. If the files aren't matching a certain schema, one may simply check, whether they are well formed.
- xml:transform transforms XML files by applying XSLT stylesheets.
Usage
Instructions on how to use the XML Maven Plugin can be found on the usage page.
Examples
To provide you with better understanding of some usages of the XML Maven Plugin, you can take a look into the following examples:
- Checking whether XML files are well formed
- Checking whether XML files are matching an XML schema
- Checking whether XML files are matching a RelaxNG schema
- Transforming XML files by applying an XSLT stylesheet
- Changing the extension of a transformations result files.
- Using an XSLT 2.0 compliant processor.
- Setting output properties on a transformer.
- Setting stylesheet parameters.
- Suppressing access to external resources by using a catalog file.