Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JDOM User »

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

TC Tan

2005-02-17


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
_______________________________________________
To control your jdom-interest membership:
http://www.jdom.org/mailman/options/jdom-interest/youraddr@(protected)
©2008 junlu.com - Jax Systems, LLC, U.S.A.