Article View: pl.comp.xml
Article #675Re: accessing xml content with java
From: Jari Aarniala
Date: Wed, 20 Dec 2000 14:31
Date: Wed, 20 Dec 2000 14:31
31 lines
2169 bytes
2169 bytes
JDOM is an easy way to go, http://www.jdom.org/ Hugo Bouckaert <hugo@fractalgraphics.com.au> wrote in message news:3A4025E6.3B9C775B@fractalgraphics.com.au... > Hi > > I want to access the content of an xml file (i.e. what is between the > tags) with java and read it into local variables. I am fairly new to > concepts of DOM and SAX and so I am not quite sure what I need. > > Do I need to download a DOM or SAX parser to validate the xml? If so > where do I get them? > > Do I need java *.jar libraries to walk through the node structure of an > xml document to extract the information I want? If so, where can I get > the java libraries? > > Lastly, how does java extract the information? A simple code exampe to > get me on my way would be highly appreciated. > > Thanks. > > Hugo > > -- > Dr Hugo Bouckaert > R&D Support Engineer, Fractal Graphics > 39 Fairway, Nedlands Western Australia 6009 > Tel: +618 9386 7917 > Email:hugo@fractalgraphics.com.au > Web: http://www.fractalgraphics.com.au
Technical Details
Message-ID:
<rp306.381$By3.15088@news.kpnqwest.fi>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!warszawa.rmf.pl!news.tpi.pl!news.task.gda.pl!newsfeeds.belnet.be!news.belnet.be!news.tele.dk!194.213.69.151!news.algonet.se!newsfeed1.telenordia.se!algonet!newsfeed1.funet.fi!newsfeeds.funet.fi!newsfeed.kpnqwest.fi!news.kpnqwest.fi!not-for-mailReferences:
<3A4025E6.3B9C775B@fractalgraphics.com.au>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!warszawa.rmf.pl!news.tpi.pl!news.task.gda.pl!newsfeeds.belnet.be!news.belnet.be!news.tele.dk!194.213.69.151!news.algonet.se!newsfeed1.telenordia.se!algonet!newsfeed1.funet.fi!newsfeeds.funet.fi!newsfeed.kpnqwest.fi!news.kpnqwest.fi!not-for-mail From: "Jari Aarniala" <jari.aarniala@ioboxgroup.tough-luck-spammers.com> Newsgroups: comp.text.xml,microsoft.public.xml,pl.comp.xml References: <3A4025E6.3B9C775B@fractalgraphics.com.au> Subject: Re: accessing xml content with java Lines: 33 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Message-ID: <rp306.381$By3.15088@news.kpnqwest.fi> Date: Wed, 20 Dec 2000 14:31:51 GMT NNTP-Posting-Host: 193.64.0.119 X-Complaints-To: helpdesk@kpnqwest.fi X-Trace: news.kpnqwest.fi 977322711 193.64.0.119 (Wed, 20 Dec 2000 16:31:51 EET) NNTP-Posting-Date: Wed, 20 Dec 2000 16:31:51 EET Organization: KPNQwest Finland customer news service MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit