Subject: RE: xsl: descendent count?
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Fri, 17 Sep 1999 18:44:33 +0100
|
> > But, <xsl:if test="['$CHILD>0']"> is also working, I'm not
> getting any
> > Syntax error.
>
> Which xsl processor are you using? I don't have the old specs to hand,
> but I can't see how this can possibly mean anything in any of the XSL
> draft specifications. '$CHILD>0' is a string and you can't put strings
> inside []
Oh yes you can. It's converted to a boolean (true if non-empty).
>and you can't start an expression with [.
This time you're certainly right.
Mike
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|