This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Environment variable


> 	I have a question. Is there any way to make a file .xsl to get
> environment variable and use then.
> 	I have to make an xsl that process an xml and then
> generate a html
> string and  then send it via email to client. This html have a link to
> gif and some href. This gif and href will change from week to
> week, so I
> do not want to change the xsl every week.

You can pass parameters to a stylesheet. It's suprising how many people
don't know this. Use <xsl:param/> in the stylesheet, and the
processor-specific API for setting the parameters from the calling
application or command line.

Mike Kay


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]