Subject: RE: [xsl] setting params From: "Michael Kay" <mhk@xxxxxxxxx> Date: Thu, 3 Jun 2004 09:14:37 +0100 |
> Hi, > where is the difference between: > <xsl:param name="paramname" select="'paramvalue'"/> > <xsl:param name="paramname">paramvalue</xsl:param> > The first is a string, the second is a result tree fragment. If you use this RTF in a context where a string is expected, you will get the same result. However, an RTF probably carries more overhead (depending on the implementation, of course) The main observable difference between a string and this RTF is the effect of boolean(). Converting a string to a boolean gives true unless the string is empty. Converting an RTF to a boolean always gives true. Michael Kay
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
setting params, Thomas Richter | Thread | RE: [xsl] setting params, Jarno.Elovirta |
RE: [xsl] setting params, Jarno.Elovirta | Date | RE: [xsl] setting params, Jarno.Elovirta |
Month |