Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries [Thread Prev] >Thread Next - Re: [xsl] Use of data() function (was: Re: [xsl] [OT]) Re: [xsl] Use of data() function (was: Re: [xsl] [OT])To: Date: 3/1/2008 4:59:00 PM Hi Andrew, Thanks for sharing this informative example. Kindly see my remarks below to the sections I have questions. On Fri, Feb 29, 2008 at 9:45 PM, Andrew Welch <andrew.j.welch@xxxxxxxxx> wrote: > <xsl:if test="data(@married)"> - married</xsl:if> I think, as Mike explained, the above xsl:if instruction checks for the effective boolean value of the expression, data(@married) to decide, whether contents of xsl:if have to be generated. (I am a bit curious why such a semantic is being designed into the language?). Please correct me if I am wrong. -- Regards, Mukul Gandhi | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
