This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: xsl:if test... Doesn't like the "[" when namespace is changed <From Newbie>
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] xsl:if test... Doesn't like the "[" when namespace is changed <From Newbie>
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Mon, 21 May 2001 17:14:57 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> I cannot transform this:
>
> <xsl:if test=".[FieldNumber='26']">
>
This construct in the WD-xsl language is not valid in XSLT. Instead, write:
<xsl:if test="FieldNumber='26'">
There are many other differences between WD-xsl and XSLT: you may find it
best to put the code through the Microsoft converter.
Mike Kay
Software AG
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list