Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries [Thread Prev] >Thread Next - Re: How to get boolean (true/false) values as boolean variables? How to get boolean (true/false) values as boolean variables?To: NULL Date: 9/14/2007 10:41:00 PM Currently I have an XML file with what are really boolean attribute values being passed numerically as 0 or 1: <MyElem flag="1"/> and in the XSLT I get the value like this: <xsl:param name='MyFlag' select='number($MyDocument/MyDoc/MyElem/@flag)' /> It's more appropriate if I represent the flag as a boolean: <MyElem flag="true"/> .. but I can't find what the equivalent would be to get the boolean value variable in the XSLT. Is there a way of doing what I want? Dave Lowndes | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
