Re: FW: [xml] XInclude use in code?
- From: Daniel Veillard <veillard redhat com>
- To: Paul Robert Hayes <paulroberthayes earthlink net>
- Cc: xml gnome org
- Subject: Re: FW: [xml] XInclude use in code?
- Date: Fri, 21 Nov 2003 11:19:38 -0500
On Fri, Nov 21, 2003 at 10:51:42AM -0500, Paul Robert Hayes wrote:
"Buggy" undoubtedly! Yep, I have just started parsing XML and just started
using your routines as well. (chuckle) I am still trying to get an
understanding of the design style in the library for use and the examples
have been very helpful.
So the example that checks the name should be checking the type as well?
Or is it that the new "name" is Xinclude that I then need to parse in a
subroutine.
Part of the confusion comes from the fact that the docdump outputs the XML
file without any Xinclude tags in it which, to me, implies that the doc from
getrootelement() does not have them in it.
1/ use xmllint --xinclude on the document. Does the transformation work ?
2/ go back to your code . when you walk the tree you *must* look at
the node "type" value before processing that node.
What was the original intent for use of the two subroutines in libxml?
The functions are described in http://xmlsoft.org/html/libxml-xinclude.html
they work as expected. I can't debug your code. It's fractionnal anyway so
not debuggable.
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
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]