9.6. Building, Installing, and Running the XML Presentation Classes

The Ant build.xml file for this chapter, shown in Listing 9.10, is located in the nfl/presentation/xml directory, and builds our XML outputters (XML.java and JDOM.java) along with their version_info file. The only notable requirement about this buildfile is the JAR files that need to be provided. xerces.jar is needed to create or parse the XML file using DOM; jdom.jar is needed to create or parse an XML file using JDOM. In both cases, xalan.jar is needed to provide the XSL transformer classes for output or transformation.

The three property values at the beginning of the file will need to be updated to reflect your system's directory structure. The first property indicates where ...

Get J2EE™ and JAX™: Developing Web Applications and Web Services now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.