From: Daniel Veillard (Daniel.Veillard@w3.org)
Date: Mon Jan 24 2000 - 05:37:30 EST
> > 2. Should /child::A/attribute::B/parent::A give back the node A? I
> > tried testXPath and it returns an empty Node Set.
>
> I still have troubles with the namespace and attributes axis in the
> XPath implementation, it's part of the TODO
Ok, I fixed the corresponding bug:
~/XML -> cat tst2.xml
<?xml version="1.0"?>
<A B="linux is cool"> Gnome is cool too. </A>
~/XML -> ./testXPath -i tst2.xml "/child::A/attribute::B/parent::A"
Object is a Node Set :
Set contains 1 nodes:
1 ELEMENT A
ATTRIBUTE B
TEXT
content=linux is cool
~/XML ->
will be commited in the CVs bases soon,
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@xmlsoft.org Archived at : http://xmlsoft.org/messages/ to unsubscribe: echo "unsubscribe xml" | mail majordomo@xmlsoft.org
This archive was generated by hypermail 2b29 : Wed Aug 02 2000 - 12:29:58 EDT