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

RE: Passing Variables to XSL Templates

Subject: RE: Passing Variables to XSL Templates
From: "Joshua Miller" <josh.miller@xxxxxxxxxxxx>
Date: Wed, 27 Jun 2001 11:24:14 -0400
asp variables in xslt
I'm using MSXML v.3 with ColdFusion currently. I've called the correct COM
objects and I can process XML files with XSL templates, however, I can't
seem to get this one to work.

I get the following error:
Failed attempting to find "ADDPARAMETER" property/method on the object
COM error 0x80020006

Joshua Miller
Web Development::Programming
Eagle Technologies Group, Inc.
www.eagletgi.com
josh.miller@xxxxxxxxxxxx

-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Ben Robb
Sent: Wednesday, June 27, 2001 10:35 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE:  Passing Variables to XSL Templates


Depends on the processor.

If you are using MSXML v.3 in ASP, then use:

objXSLTemplate.addParameter(strParamName, strParamValue, "")

Full documentation available on MSDN.

If you are using another processor, then there are other methods...
ranging from appending it to a command line call to using a querystring
- however, it really does depend on your processor.

Ben

> -----Original Message-----
> From: Joshua Miller [mailto:josh.miller@xxxxxxxxxxxx]
> Sent: 27 June 2001 15:26
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: RE:  Passing Variables to XSL Templates
>
>
> Ok, so assuming I upgrade to XSLT ... then how would I do it?
> I've been
> searching for hours for this information and can't find
> anything remotely
> close to what I'm looking for. I know how to MATCH the value,
> what I need to
> know is how do I get the value from another language (ie:
> CF,ASP,etc.) into
> the XSL template???
>
> Joshua Miller
> Web Development::Programming
> Eagle Technologies Group, Inc.
> www.eagletgi.com
> josh.miller@xxxxxxxxxxxx
>
> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Michael Kay
> Sent: Wednesday, June 27, 2001 9:48 AM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: RE:  Passing Variables to XSL Templates
>
>
> > Newbie question for the XSL masters - is there anyway that I
> > can pass a
> > variable into an XSL Template to populate a CASE statement?
>
> Yes, templates can accept parameters.
> >
> > Want to do something like: <xsl:if match=".[NAME='$name']">
>
> That looks like Microsoft WD-xsl syntax. Your first step is
> to upgrade to
> XSLT.
>
> Mike Kay
> Software AG
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>
>

 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.