xsl-list
[Top] [All Lists]

stylesheet params - static vs dynamic

2004-06-24 14:25:17
 

<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








<Prev in Thread] Current Thread [Next in Thread>