[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Passing parameters to XSL using MSXML

Subject: Re: Passing parameters to XSL using MSXML
From: "Chuck White" <chuck@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 28 Sep 1999 11:10:35 -0700
microsoft.xmldom parameter
Title: Re: Passing parameters to XSL using MSXML
The MS XMLDOM component doesn't support the xsl:param element.

Try this for documentation on what you are trying to accomplish:
http://msdn.microsoft.com/xml/XSLGuide/xsl-advanced.asp
or this for a broader brush:
http://msdn.microsoft.com/xml/XSLGuide/default.asp

Be aware that what works for the MS XSL namespace doesn't necessarily work with the W3 namespace, and vice versa, depending on the elements you're using.

Valid MS XSL elements are:
xsl:stylesheet, xsl:attribute,  xsl:choose, xsl:comment, xsl:copy, xsl:element, xsl:for-each,  xsl:if, xsl:eval,  xsl:otherwise,  xsl:pi (xsl:processing-instruction in current draft),  xsl:script  (for global variables and extensions),  xsl:stylesheet, xsl:template,  xsl:value-of, xsl:when

regards,
chuck

Chuck White
Creative Director
ADVANCE Recruitment Advertising, Inc.
chuck@xxxxxxxxxxxxxxxxxxxxxx
http://www.advancerecruitment.com

----------
From: BOUCHET Sébastien <sebastien.bouchet@xxxxxxx>
To: "'xsl-list@xxxxxxxxxxxxxxxx'" <xsl-list@xxxxxxxxxxxxxxxx>
Subject: Passing parameters to XSL using MSXML
Date: Tue, Sep 28, 1999, 10:06 AM



Hi,

the ability to pass parameters to an XSL stylesheet is really convenient. Certain command line XSL processors, like instant-saxon, can accept additionnal parameters that you retrieve with <xsl:param>.

I'm looking for a way to do exactly the same thing with MSXML in an ASP-based site (see above for further details). Unfortunately I couldn't find any complete reference of Microsoft.XMLDOM component, so I don't happen to know how to feed it with parameters after having passed the XML and XSL. I don't even know whether <xsl:param> is supported by this processor or not.

Thanks for any answer,

Sebastien

'''''''''''''''''''''''''''''''''''''''''''''''''
'Current code chunks
set xmldoc = CreateObject("Microsoft.XMLDOM")
set xsldoc = CreateObject("Microsoft.XMLDOM")

''Load the docs
xmldoc.load(...blah...)
xsldoc.load(...blah...)

''Is there anything like :
xsldoc.loadparam("paramname","value") ?????????????????
Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.