H
Hvid Hat
How can I pass XML (including nodes) to a C# method in XSLT and process the
XML?
<msxsl:script language="C#" implements-prefix="user"><![CDATA[
public string processXml(/* WHAT DATA TYPE? */)
{
// How do I process the XML? I'd like to use .getElementById or something
similar if possible? I read something about using XPathNodeIterator.
return "";
}
]]></msxsl:script>
....
....
....
<xsl:template match="Documents">
<xsl:value-of select="userrocessXml(.)" />
</xsl:template
XML?
<msxsl:script language="C#" implements-prefix="user"><![CDATA[
public string processXml(/* WHAT DATA TYPE? */)
{
// How do I process the XML? I'd like to use .getElementById or something
similar if possible? I read something about using XPathNodeIterator.
return "";
}
]]></msxsl:script>
....
....
....
<xsl:template match="Documents">
<xsl:value-of select="userrocessXml(.)" />
</xsl:template