[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: boolean values
> Well, Matt, I'm still new to XSLT, nevertheless I would go > like this: (Hope I'm right and this helps) > > ---------------------------------- > . > . > <xsl:variable name="hasContractsTest"> > <xsl:call-template name="hasContracts"> > <xsl:with-param name="branding" select="$branding"/> > </xsl:call-template> > </xsl:variable> > <xsl:variable name="hasContracts" select="boolean(hasContractsTest)"/> It's the right approach but wrong in the detail: converting an RTF to a boolean always gives true. See my solution (hoping I got it right...). Michael Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|