W3C home > Mailing lists > Public > www-xpath-comments@w3.org > April to June 2001

few ideas

From: Itai Zoaretz <Itai@niragongo.com>
Date: 15 Jun 2001 05:38:25 +0200
Message-ID: <77A8FA9FF19EFD48B8C1B2900A522DA31E9CEF@ntgong.niragongo.com>
To: <www-xpath-comments@w3.org>
I think the following functions should be added to the XPath
specification, they are very useful and easy to implement:
Function: number distance ( node ): the method return the distance of
the current node from the given node.

Function: (string || number) genId( node ): the Function generate and id
for the given node, 
					 that means a symbol that don't
exist in the processed xml file, 
					 that can be used has an id
attribute to the new xml file, 
					 incase one does not exist in
the processed xml file.

I think those functions are very useful, and not hard to implement.
Thanks.


----------------------------------------------------------------
Itai Zoaretz
Niragongo Ltd.
7 Yad Harutzim St.
P.O.Box 12570
Herzliya  46733
Israel.

Phone: +972 9 9511192 extention: 212
Fax: +972 9 9511193
Email : itai@niragongo.com
 
visit our website: www.niragongo.com   
----------------------------------------------------------------
Received on Thursday, 14 June 2001 23:39:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:05:54 GMT