I have an xml file with the overall structure:
<a>
<b>
<c1>
</c1>
<c2>
</c2>
<c3>
</c3>
..
..
..
</b>
</a>
The xml file has hundreds of c elements and my goal is to write a xslt file that only copies the first 200 c elements in this file, ie up to and including the <c200> element, and delete the rest of the c elements. Does anyone know how?
Thanks in advance!
<a>
<b>
<c1>
</c1>
<c2>
</c2>
<c3>
</c3>
..
..
..
</b>
</a>
The xml file has hundreds of c elements and my goal is to write a xslt file that only copies the first 200 c elements in this file, ie up to and including the <c200> element, and delete the rest of the c elements. Does anyone know how?
Thanks in advance!
Comment