W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2000

Re: is this addressing?

From: <keshlam@us.ibm.com>
Date: Mon, 22 May 2000 10:30:26 -0400
To: "Ivan Leong" <ivanl@pacific.net.sg>
cc: www-dom@w3.org
Message-ID: <852568E7.004FAF63.00@D51MTA03.pok.ibm.com>
The standardized solution for your need would be XPath which is probably
avaialble as off-the-shelf code. I know Xalan/LotusXSL includes such a

But that doesn't output the syntax  you've shown. If you really need that
specific syntax, you get to invent your own code to generate it and/or
respond to it. It shouldn't be hard; from the target node, walk up the
parents and at each step count across from firstChild... then reverse the
order, of course. To evaluate the position string, just run the same
process in reverse, counting across the children at each step.

Joe Kesselman  / IBM Research
Received on Monday, 22 May 2000 10:31:06 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:07 UTC