You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Joan Pujol Espinar <jp...@ima.udg.es> on 2001/11/24 01:02:24 UTC
Parsing DOM
Hi,
I want to parse a XML Document with DOM.
I know well the format of the document, and I have a XML schema for it.
I want to get some dispersed nested elements in arbitrally order.
I have been examining the DOM API and I can't find a comfortable way to do it.
<A>
<B>
<C/>
<C/>
<C/>
<C/>
<D atri="test"/>
</B>
</A>
For example, if I know the format, and I want to get the atri element of D.
What's the better way to get it?
Bye,
I knowThe format of the document is
---
Joan Pujol Espinar
PTS Sistemes Departament IMA
Universitat de Girona
-------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org