[jdom-interest] StAXBuilder.java

Tatu Saloranta cowtowncoder at yahoo.com
Wed Jun 16 21:05:16 PDT 2004


Ok, I wrote a simple JDom document builder that can
create JDom documents from a StAX XMLStreamReader,
using the DOM-based builder as an example.
[for more information about StAX API for XML-parsing,
docs, implementations, you can go to:
https://stax-utils.dev.java.net/
]

To compile it, StAX API has to be available; I added
lines:

[line 77]
    <property name="stax.jar" 
value="${lib.dir}/stax1.0.jar"/>

[line 86]
      <pathelement location="${stax.jar}"/>

to build.xml, and 'stax1.0.jar' into lib directory
locally.



More information about the jdom-interest mailing list