|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: setting params
>
> 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








