Subject: RE: Xpath expression: foo[-bar] From: Kay Michael <Michael.Kay@xxxxxxx> Date: Fri, 3 Dec 1999 09:19:27 -0000 |
> In the XPath expression, how should foo[-bar] be parsed and > implemented? > > Would it be the equivalent of: > foo[boolean(-number(./bar))] > No, it means foo[position()=-number(./bar)] which will be an empty set unless the string-value of the first child bar element is a negative number. Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Xpath expression: foo[-bar], Richman, Jeremy | Thread | FYI: YML: A Grand Unification of SA, Clark C. Evans |
Re: support for namespace axis?, David Carlisle | Date | Re: XSL iteration, David Carlisle |
Month |