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

stylesheet params - static vs dynamic

Subject: stylesheet params - static vs dynamic
From: "Jasthi, Siva R." <siva.jasthi@xxxxxxx>
Date: Thu, 24 Jun 2004 16:25:17 -0500
stylesheet dynamic
 

<xsl:param name="userDate"/>
<xsl:param name="userName" />

  <xsl:template match="/">
        <xsl:value-of select="$userDate"/>
        <xsl:value-of select="$userName"/>
</xsl:template>



Hi -

In one way,  "xsl:param" in the context of *.xsl appear to be analogous
to the "args" we give to c and java programs.  

I am trying to come up with a generic stylesheet that can print the
"name - value" pairs of the parameters it is given.

Is there anyway to know dynamically
 (a) what are the names of the parameters and 
 (b) what are the values of those parameters
inside a stylesheet?  

Thanks
- siva jasthi







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.