[jdom-interest] Re: jdom-interest Digest, Vol 7, Issue 7

TC Tan atantc at gmail.com
Thu Feb 17 18:44:42 PST 2005


Hi Anton, I'm not really sure of wat exactly u wan. However, I have
been doin abit of XML file processing lately.

Base on ur description, its seems that the first consideration is does
ur xml file comes with a dtd???

if yes then u would need a DTD parser from 
http://www.wutka.com/

if there's no dtd, then u can probabaly use the simple third party java api from
W3C to do the conversion of the elements to nodes. so it seems that u
may not need to use jdom.

by the way if u don have the W3C api in-build in ur IDE then go look
for this lib,
org.w3c.dom.* & org.w3c.dom.Node.*;

for my project i have manage to make a JTree display of the xml file elements.

Adam Tan
Singapore S/W Engr student


More information about the jdom-interest mailing list