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

RE: Parameters

Subject: RE: Parameters
From: "Gertjan Assies" <Gertjan.Assies@xxxxxxxxxxxxxx>
Date: Mon, 28 Oct 2002 16:36:41 +0100
RE:  Parameters
Paulo,

>From your URL I see your language of choice is ASP
then you probable will be using MSXML
In that case you can use the following code
In here aXML and aXSL are both DOMDocument objects

Set aXSLTempl = Server.CreateObject("MSXML2.XSLTemplate")
Set aXSLTempl.stylesheet = aXSL
Set aXSLProc = aXSLTempl.createProcessor
aXSLProc.input = aXML
aXSLProc.addParameter "name", "value" 
aXSLProc.addParameter "anothername", "anothervalue" 
aXSLProc.Transform
sResult = aXSLProc.output

in your xsl you can then say

<xsl:param name="name" />
<xsl:param name="anothername" />

HTH,
Gertjan Assies
webdeveloper


-----Original Message-----
From: Paulo (Shape.Tech) [mailto:paulo@xxxxxxxxx] 
Sent: Monday, October 28, 2002 2:53 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject:  Parameters

Hi all,
everybody knows if it´s possible I get a param value from an URL with XSLT ?
for exemple:

www.xxx.com.br/index.asp?op=abc.xsl

can I get this OP value with xslt ?

thanks
Paulo Fabiano Langer
Web DEsigner/Develper

Rio de Janeiro - BRazil


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.