|
Subject: RE: [xsl] setting params From: "Michael Kay" <mhk@xxxxxxxxx> Date: Thu, 3 Jun 2004 10:06:23 +0100 |
>
> So
> <xsl:param name="hyphenate">true</xsl:param> is true and
> <xsl:param name="hyphenate">false</xsl:param> is also true?
> So <xsl:param name="hyphenate" select="'false'"/> is the right way?
>
No, if you want a boolean value it's better to declare it as
<xsl:param name="hyphenate" select="false()"/>
rather than declaring a string and relying on conversion to boolean
Then you don't hit the problem that boolean('false') is true.
Michael Kay
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] setting params, Thomas Richter | Thread | Re: [xsl] setting params, Thomas Richter |
| Re: [xsl] setting params, Thomas Richter | Date | Re: [xsl] 1 XSL for 2 XML, Petr Mach3 |
| Month |