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

Re: Problems with multiple xsl:param

Subject: Re: Problems with multiple xsl:param
From: Niall Kavanagh <kavanagh@xxxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 8 Jun 2000 10:34:07 -0400 (EDT)
niall kavanagh
On Thu, 8 Jun 2000, Juergen Hermann wrote:

> On Wed, 7 Jun 2000 15:33:46 -0400 (EDT), Niall Kavanagh wrote:
> 
> >I'm using XALAN-C and running into a bit of a problem.
> 
> What version? 0.30.0 or CVS?
>

0.30.0. I tried checking out CVS code anonymously, but it wasn't
working. Any pointers? If I can get my hands on it I'll certainly give it
a try.
 
> >I've set serveral parameters in my application that does the 
> 
> Parameters & XObjects have quite some bugs in the release version, that 
> are fixed by now in the current source.
> 
> If you set your params by using XObjects, change that to using 
> DOM_String and XPath expressions, i.e. not a XString, but a DOM_String 
> containing "'foo'" (note the inner apostrophe). That works with 0.30.0 
> as released.
> 
> 

I am using DOMStrings, and I am enclosing the "strings" with the inner
apostrophes.

It looks like Xalan is taking the parameters, because depending on the
order I declare them in my stylesheet, they are available to the
stylesheet. 

<xsl:param name="param1" />
<xsl:param name="serviceID" />
<xsl:param name="deviceID" />	

Will set the value of $param1, $serviceID, and $deviceID to whatever I set
"param1" to.

If I declare "serviceID" first, then they all get that value
(serviceID). The values are the exact values I set in my application. All
are declared globally, right after my <xsl:stylesheet ... > and before any
templates.

Thanks for the help!

--
Niall Kavanagh



 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.