🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.java.api
Article #2

Re: importing data with java from xml

#2
From: Niels Ull Harremo�s
Date: Thu, 28 Dec 2000 22:33
43 lines
2761 bytes
Take a look at the tutorials avaliable at http://www.ibm.com/developer/xml,
e.g.
http://www.ibm.com/developerworks/education/xmljava/xmljava-menu.html

They have complete code examples.

"Hugo Bouckaert" <hugo@fractalgraphics.com.au> skrev i en meddelelse
news:3A4AEE6E.ABF3DAFC@fractalgraphics.com.au...
> Hi
>
> This is something I don't seem to get a grip on: I would like to use the
> Document Object Model or SAX methods with java to import data from an
> xml file. I think (hope) I have all the jar files downloaded to provide
> me with the native methods to do this. But how? I am really rather lost
> here.
>
> Would someone be able to help me with the following:
>
> 1. Tell me which packages and jar files I need to import xml data using
> DOM and/or SAX.
>
> 2. Provide me with a complete code example to do this. If the code
> example can include the xml file and its data that would be great as
> this would clarify things much better.
>
> I am sure there is someone out there who is an expert at java and xml -
> I am just starting and would really appreciate a simple code example to
> get me kickstarted.
>
> Thanks very much.
>
> Cheers
>
> 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: <92gf0u$lvb$1@news.inet.tele.dk>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!newsfeed.online.be!62.232.80.34.MISMATCH!newspeer.highwayone.net!colt.net!news.tele.dk!Tele.Dk.POSTED!not-for-mail
References: <3A4AEE6E.ABF3DAFC@fractalgraphics.com.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10e2b9,2655ac4ce1af0187
X-Google-Attributes: gid10e2b9,public
X-Google-Thread: f5e83,2655ac4ce1af0187
X-Google-Attributes: gidf5e83,public
X-Google-Thread: fecd1,2655ac4ce1af0187
X-Google-Attributes: gidfecd1,public
X-Google-Thread: 10d6db,2655ac4ce1af0187
X-Google-Attributes: gid10d6db,public
X-Google-ArrivalTime: 2000-12-28 14:32:02 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!newsfeed.online.be!62.232.80.34.MISMATCH!newspeer.highwayone.net!colt.net!news.tele.dk!Tele.Dk.POSTED!not-for-mail
From: "Niels Ull Harremo�s" <nielsull@mail.dk>
Newsgroups: comp.lang.java.api,aus.computers.java,comp.lang.java.softwaretools,comp.lang.java.setup
Subject: Re: importing data with java from xml
Date: Thu, 28 Dec 2000 23:33:56 +0100
Organization: Posted Courtesy of Tele Danmark or one of its European Subsidiaries
Lines: 45
Message-ID: <92gf0u$lvb$1@news.inet.tele.dk>
References: <3A4AEE6E.ABF3DAFC@fractalgraphics.com.au>
NNTP-Posting-Host: ip98.boanxr1.ras.tele.dk
X-Trace: news.inet.tele.dk 978042718 22507 195.249.161.98
X-Complaints-To: the appropriate department of the poster's provider
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200