From: Georg Bauhaus <rm.tsoh.plus-bug.bauhaus@maps.futureapps.de>
Subject: Re: XML/Ada - reading an attribute
Date: Thu, 11 Sep 2008 16:10:40 +0200
Date: 2008-09-11T16:10:50+02:00 [thread overview]
Message-ID: <48c926ea$0$6556$9b4e6d93@newsspool4.arcor-online.net> (raw)
In-Reply-To: <48c9109f$0$90269$14726298@news.sunsite.dk>
Thomas Locke wrote:
> Hey group,
>
> I'm currently doing this in order to read the seconds attribute of the
> simulation_length element: http://pastebin.ca/1199908
>
> My current solution is working quite well and it gets the job done, I'm
> just wondering if there's a "better" way.
http://www.mckae.com/xia.html might make access more
comfortable.
At the opposite end, not necessarily a better way, but
have you considered a SAX style parser with callbacks
triggered by certain nodes?
I have found that useful when processing lots of
similar subtrees of the XML document. No need for a
DOM then.
prev parent reply other threads:[~2008-09-11 14:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-11 12:35 XML/Ada - reading an attribute Thomas Locke
2008-09-11 14:10 ` Georg Bauhaus [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox