Subject: RE: xsl:if test... Doesn't like the "[" when namespace is changed <From Newbie>
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Mon, 21 May 2001 17:14:57 +0100
|
> 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
|