I would like to transform my XML file base on dynamic information.
In the XSL file I included the param line:
<xsl
aram name="AdminPriv">0</xsl
aram>
The Transformation will show/hide table-rows according to the admin privilege...
In my ASP code I tried:
set xsl = CreateObject("Microsoft.XMLDOM"
xsl.async = false
xsl.load(Server.MapPath("cfgTables.xsl?AdminPriv=10"
)
Response.Write(xml.transformNode(xsl))
But the xsl.load function doesn't like the "?..." part.
Do I have to navigate the tree, look for the node and change the value using XMLDOM or there is a direct method to pass the parameter?
In the XSL file I included the param line:
<xsl
The Transformation will show/hide table-rows according to the admin privilege...
In my ASP code I tried:
set xsl = CreateObject("Microsoft.XMLDOM"
xsl.async = false
xsl.load(Server.MapPath("cfgTables.xsl?AdminPriv=10"
Response.Write(xml.transformNode(xsl))
But the xsl.load function doesn't like the "?..." part.
Do I have to navigate the tree, look for the node and change the value using XMLDOM or there is a direct method to pass the parameter?