Is there any way that I can use XSLT to process again(2nd time) the XML that is obtained during the first processing?
To be more clear,
I got the following output, while the transformation is going on,
<processPrototypes>
<orderPrecedenceSpec origin="xxx"
target="yyy"
orderType="directOrder"/>
<orderPrecedenceSpec origin="abc"
target="lmn"
orderType="directOrder"/>
<orderPrecedenceSpec origin="xxx"
target="yyy"
orderType="directOrder"/>
<orderPrecedenceSpec origin="abc"
target="lmn"
orderType="directOrder"/>
</processPrototypes>
In my xslt, the line/template that does this part is,
<processPrototypes>
<xsl:call-template name="help">
</xsl:call-template>
</processPrototypes>
What to do in the next line here ? to modify the output created by the above template ?
Now my question is can I be able to process the "processPrototypes" output to remove the duplication there ? in the same xslt file just in the next line after calling the template ?
So that after processing it again, my final output should look like (without duplication),
<processPrototypes>
<orderPrecedenceSpec origin="xxx"
target="yyy"
orderType="directOrder"/>
<orderPrecedenceSpec origin="abc"
target="lmn"
orderType="directOrder"/>
</processPrototypes>