Re: [xml] Extending XPath?

Date view Thread view Subject view Author view

From: Daniel Veillard (Daniel.Veillard@w3.org)
Date: Wed Oct 11 2000 - 07:09:21 EDT


On Tue, Oct 10, 2000 at 07:19:10PM +0000, Bjorn Reese wrote:
>
> Upon further investigation it appears that only XPointer is
> adding new data types; XSLT and XQL are only adding new functions
> to the expressions.

  Humm, you should also look at XML query.
    http://www.w3.org/XML/Query

They will be using XPath extensively

> In the case were only new functions are added, it should be
> sufficient to extend XPath by allowing registering of new
> function names along with a callback function. This callback
> function would also need access to the push and pop functions
> of XPath. Does this look alike a feasable approach?

  Sure !
  Push and Pop are already exported in pre2.2.5. I just added
registering and lookup of new functions and variables but it's
untested for now.

Daniel

-- 
Daniel.Veillard@w3.org | W3C, INRIA Rhone-Alpes  | Today's Bookmarks :
Tel : +33 476 615 257  | 655, avenue de l'Europe | Linux XML libxml WWW
Fax : +33 476 615 207  | 38330 Montbonnot FRANCE | Gnome rpm2html rpmfind
 http://www.w3.org/People/all#veillard%40w3.org  | RPM badminton Kaffe
----
Message from the list xml@rpmfind.net
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@rpmfind.net


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Oct 11 2000 - 09:43:41 EDT