JScript XSLT Script Block

Submitted by:Jhon Jhon

Date added:26 January, 2012

Category:XSLT

A code example of JScript XSLT Script Block

Tags: xslt script

Code Snippet:

    <ms:script implements-prefix="$user$" xmlns:ms="urn:schemas-microsoft-com:xslt" language="JScript">
<ms:using namespace="System.Xml.XPath"/>

function $function$ (iterator : XPathNodeIterator)
{
if (iterator.MoveNext())
{
var nav : XPathNavigator = iterator.Current;
return nav.LocalName$end$;
}
return "";
}$endcdata$
</ms:script>
 
 

Comments