<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; >


 <xsl:param name="theParam">default</ xsl:param>

 <xsl:template match="/">
    <html>
      <head> < title><xsl:value-of select="$theParam" /></title> </ head>
      <body> < h1><xsl:value-of select="$theParam" /></h1> </ body>
    </html>
 </xsl:template>

</xsl:stylesheet>

see also:

http://www.zvon.org/o_html/group_xsl.html
http://www.dpawson.co.uk/xsl/xslfaq.html

and you'll probably get more help on xsl at this mailing list:
http://www.mulberrytech.com/xsl/index.html
than you would from the xalan mailing list.
Anand T wrote:

Thankyou very much Charles.
I was able to set parameter in my xalan version with out problem. Could you please give a simple example how i retrieve this paramater in xsl and use it. I appreciate your help.





Reply via email to