It might be worth your while to have a look at JDOM (www.jdom.org) - it's an
open source, Java based API that's a lot friendlier/higher level/easier than
DOM.

Frank

----- Original Message -----
From: Herv� Guidetti <[EMAIL PROTECTED]>
To: Turbine <[EMAIL PROTECTED]>
Sent: Tuesday, July 04, 2000 10:44 AM
Subject: Parsing XML file


> I'd like to create an XML file for the properties of my application (a bit
> like the portletregistry of Jetspeed).
>
> I'd like to know if there is an API to deal with XML file, something
> high-level. For example, I'd like to call something like
> getString("screenregistry.screen.xsl", "screenregistry.screen.name=hello")
> on a file like
>
> <screenregistry>
>      <screen>
>           <name>bye</name>
>           <xsl>bye.xsl</xsl>
>      </screen>
>      <screen>
>           <name>hello</name>
>           <xsl>hello.xsl</xsl>
>      </screen>
> </screenregistry>
>
> I already looked at the JAXP API. This runs but it isn't as high-level as
> I'd want.
> I also looked at Castor. A bit too complex for that.
>
> I'm quite sure that what I want exists (and I don't want to reinvent the
> wheel), but where ??
>
> Any idea.
>
> Herv�
>
>
>
>
>
>
> ------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?:           [EMAIL PROTECTED]
>



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to