I have an xslt file that runs through my XML file and works fine.
It is essentially set up like:
<xsl:template match="/*">
<xsl:copy>
<xsl:apply-templates select="Report"/>
<xsl:apply-templates select="Parties"/>
<xsl:apply-templates select="Programs"/>
</xsl:copy>
</xsl:template>
Then all my templates.
However, I have a set of Nodes - "Report/Forms" - that get handled in the first apply-templates. That template would be:
<xsl:template match="REPORT/FORM">
</template>
I cannot find a way to process just the "FORM" nodes a 2nd time. I need to process them after the "Programs" apply-templates as well to write out some specific xml that must be at the end.
Is there a way to do this? I can't seem to make this work. I tried adding a second template section but it will only process one of them.
Thanks,
Tom
But I need to also
It is essentially set up like:
<xsl:template match="/*">
<xsl:copy>
<xsl:apply-templates select="Report"/>
<xsl:apply-templates select="Parties"/>
<xsl:apply-templates select="Programs"/>
</xsl:copy>
</xsl:template>
Then all my templates.
However, I have a set of Nodes - "Report/Forms" - that get handled in the first apply-templates. That template would be:
<xsl:template match="REPORT/FORM">
</template>
I cannot find a way to process just the "FORM" nodes a 2nd time. I need to process them after the "Programs" apply-templates as well to write out some specific xml that must be at the end.
Is there a way to do this? I can't seem to make this work. I tried adding a second template section but it will only process one of them.
Thanks,
Tom
But I need to also