Re: [xml] new tree.c function
- From: Daniel Veillard <veillard redhat com>
- To: dhk <dhkuhl optonline net>
- Cc: xml gnome org
- Subject: Re: [xml] new tree.c function
- Date: Mon, 26 May 2008 02:43:31 -0400
On Fri, May 23, 2008 at 04:26:03AM +0000, dhk wrote:
Dan,
I wrote the function that does what xpath should do because xpath didn't
seem to work on a xmlDocPtr created with xmlNewDoc(). However, xpath
works fine if I create an xmlDocPtr with the xmlParseFile()function.
Any ideas?
You probably made mistakes when building the tree, a classic is
a default namespace defined on an element but not linked as being the
one for the element. Happens if you only look at the serialization instead
of the tree structure.
Daniel
--
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard | virtualization library http://libvirt.org/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]