Microsoft XML SDK 2.6 - XML Reference

addParameter Method

Allows you to pass variables into an XSLT style sheet that will be referenced by <xsl:param> within the style sheet.

objXSLProcessor.addParameter(baseName, parameter, namespaceURI)

Parameter

baseName
The name that will be used inside the style sheet to identify the parameter context.
parameter
A number, boolean, string, XMLDOMNodeList, or XMLDOMNode. Passing in a single node will produce a node list that contains one node (shortcut).
namespaceURI
Optional namespace.

Remarks

The addParameter method can be called in on TransformNode handlers and between transform calls (in async processing), and further processing will use the updated parameter.

See Also

Applies To: XSLProcessor Object