[jdom-interest] parsing very small xml docs

Lukas Hazlehurst hazlehurst at paradise.net.nz
Sat Jun 21 05:31:46 PDT 2003


Hello,

I'm using jdom throughout a project that i'm working on as a way to move
data around and its working out really well. I have a situation now though
where i have to read in lots of very small xml documents, each containing
only a few elements such as the examples below.

Does anyone have suggestions on what would be an efficient way to parse
these documents - or are the standard parsers ok for such small docs.

<field>
<text>Hello World</text>
</field>

or

<field>
<quantity>55.05</quantity>
<unit>mm</unit>
</field>

Lukas
Sofnology Ltd.
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.487 / Virus Database: 286 - Release Date: 1/06/2003




More information about the jdom-interest mailing list