I have XML that looks like:
<APP>
<SECTION id="first">
<CONTROL type="button">
<VALUE />
</CONTROL>
<CONTROL type="text">
<VALUE>dummy text</VALUE>
</CONTROL>
</SECTION>
<SECTION id="second">
<CONTROL type="button">
<VALUE />
</CONTROL>
<CONTROL type="button">
<VALUE>more text</VALUE>
</CONTROL>
</SECTION>
</APP>
What I want to select is a tree fragment that looks like:
<SECTION id="first>
<CONTROL type="text">
<VALUE>dummy text</VALUE>
</CONTROL>
</SECTION>
<SECTION id="second">
<CONTROL type="button">
<VALUE>more text</VALUE>
</CONTROL>
</SECTION>
Thanks to all who reply.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|