Pass a Parameter to XSL

In XSL:

 'define parameter name and set default value

In ASP:

 'set xsl objectDim xslFile, xslDocxslFile = "MyXsl.xsl"Set xslDoc = Server.CreateObject("Msxml2.DOMDocument")xslDoc.async = falsexslDoc.load(Server.MapPath(xslFile))'pass parameterset param=xslDoc.selectSingleNode("//xsl:param[@name='loginName']")param.setAttribute "select","'Bill'"
Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

Recent Articles: