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

RE: % in xslt printing as ?

Subject: RE: % in xslt printing as ?
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 23 Sep 2005 08:47:15 +0100
xslt parameter value
I don't have the msxsl documentation to hand but I would guess that if your
parameter is named Date then you specify Date="2005-01-01".

Michael Kay
http://www.saxonica.com/ 

> -----Original Message-----
> From: stuart arnold [mailto:stuart.arnold@xxxxxxxxxxx] 
> Sent: 22 September 2005 23:59
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: RE:  % in xslt printing as ?
> 
> I treied that, I guess I'm missing something.
> 
> I'm calling at:
> 	msxsl.exe testme.xml myfix.xsl param="2005-01-01" -o out.html
> 
> In the XSL, what should I have, I mean, how does it know that 
> that param
> goes with what, eg
> 	<xsl:param name="Date" />
> 
> Should I have more on the command line or the XSL?
> 
> Thanks for the reply and any help.
> 
> -----Original Message-----
> From: Michael Kay [mailto:mike@xxxxxxxxxxxx] 
> Sent: Thursday, September 22, 2005 6:38 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: RE:  % in xslt printing as ?
> 
> 
> > 
> > I'm trying to pass a variable to my xsl processor as well, 
> but I don't
> 
> > know how to recive it in the XSL. What xsl command do I use?
> 
> Use <xsl:param name="nnnn"/> as a top-level element (a child of
> xsl:stylesheet). Then refer to the parameter just like a variable, as
> $nnnn. The way you actually supply the parameter a value 
> depends on the
> processor API you are using.
> 
> Michael Kay
> http://www.saxonica.com/

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.