Say I have a piece of XML like
<parent>
<A>
<id>1</id>
<property></property>
</A>
<B>
<id>2</id>
<property></property>
</B>
<C>
<id>3</id>
<property></property>
</C>
</parent>
I want to match each of the child nodes under parent node which has an id node. e.g.A,B and C node Would it be possible using a regexp to do the job instead of parsing the whole document tree?
Thanks for help =)