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
 

<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