Re: [xml] Assembling xml documents from multiple wsdl files
- From: "Stephen Lord" <stephen suntail net>
- To: <xml gnome org>
- Subject: Re: [xml] Assembling xml documents from multiple wsdl files
- Date: Wed, 5 Dec 2001 17:14:29 -0000
| Since you're not using the XInclude syntax the XInclude support will be
| useless to you.
Yup, I thought it might. This '<import...>' syntax is specified in the WSDL
schema so I don't have much choice.
[snip]
| ... xmlDocCopyNode() so that the proper doc information get
| propagated in the new nodes.
| If you really know what you are doing and that there isn't troubles with
| namespaces etc... doing an xmlUnlinkNode() and simply an xmlAddChild()
| would avoid the cost of the copy. But if you're unsure, simply use
| xmlDocCopyNode() for each of the nodes in the included document and
| xmlAddChild() them to their final destination.
I assume that I just have add the top-level nodes from the source doc to the
target doc?
Many thanks for the prompt reply btw!
Steve
|
| 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/
| _______________________________________________
| xml mailing list, project page http://xmlsoft.org/
| xml gnome org
| http://mail.gnome.org/mailman/listinfo/xml
|
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]