--- [EMAIL PROTECTED] 的正文:> 
> >when i write the code below:
> ><x:transform xml="${xml}" xslt="${xslt}">
> ><x:param name="gg" value="0"/>
> ></x:transform>
> 
> >my question is what the param useage here,how can i
> >get the param in xsl file?
> 
> 
> A XSLT which accepts a param named "gg" and displays
> the param's value
> would look something like this:
> 
> <xsl:transform version="1.0" xmlns:xsl
> ="http://www.w3.org/1999/XSL/Transform";>
>     <xsl:param name="gg"/>
> 
>     <xsl:template match="/">
>         <xsl:message>gg is "<xsl:value-of
> select="$gg"/></xsl:message>
> 
>     </xsl:template>
> 
> </xsl:transform>
> 
> 
> 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>  

thanks,it works,i just put the <xsl:param> in wrong
place :D

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to