You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Charlie Hart <ch...@nc.rr.com> on 2001/03/14 22:11:41 UTC
using parent::node
I have an xml doc that has the following structure
<section num="1">
<sub_section>
<group valid = "true>
</group>
</sub_section>
</section>
>From my application I want to issue a call so that I can get all section
nums where the group attribute valid = true. I was thking I could get
all the groups that qualify and then get the parent's attribute using
/group/parent::section/@num. Is this the best way to go about this? Is
there a good example of this anywhere? thanks...charlie
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org