Template Match and document
- by Christophe Debove
Can I do something like that to display the value of the node?
<!-- plop.xml : -->
<?xml version="1.0"?>
<root>
<node1>hello</node1>
</root>
<xsl:template name="my_template" match="document('plop.xml')/root" >
<xsl:value-of select="node1"/>
</xsl:template>
<xsl:call-template name="my_template"></xsl:call-template>
I want to create special template that will only affect one xml.
I work on asp .net 2.0 C# XslCompiledTransform processor.