Hi all,:)
I am passing parameter values to an XSL file, and transforming an xml file successfully using
VB.net. This transformation keeps xml as xml (Copy), and just inserts new tags having the parameter values. In the xsl, I have these lines:
<xsl:param name="param1">dummy</xsl:param>
<xsl:template match="/ABC/zzzz1">
<Annotations>
<xsl:value-of select="$param1"/>
</Annotations>
</xsl:template>
The XML has to have <zzzz1></zzzz1> tags under the <ABC> tag for the template to locate the place where <Annotations> tags with param1 value can be inserted.
Is it possible to insert the <Annotations> tags and param1 value at the top or bottom of the xml file without the <zzzz1> tags being there?
TIA,
Sudhir