xsl-list
[Top] [All Lists]

Re: [xsl] Use of data() function (was: Re: [xsl] [OT])

2008-03-01 09:58:41
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(_dot_)j(_dot_)welch(_at_)gmail(_dot_)com> 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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>