Enclosed is a small patch adding this feature. However it does not go though entities references as the spec does as a reference has no pointer back to the tree (but to the DTD where it's defined) this difference in tree construct forces to change the semantic in that case http://www.w3.org/TR/2008/PR-ElementTraversal-20081117/ but that should still be useful to people having a hard time dealing with trees navigation. Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel veillard com | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/
Attachment:
elem_trav.patch
Description: Text document