Re: [libxml++] Propose Document::create_root_node_by_import ()
- From: Jim Garrison <garrison case edu>
- To: libxmlplusplus-general lists sourceforge net
- Subject: Re: [libxml++] Propose Document::create_root_node_by_import ()
- Date: Wed, 04 Feb 2004 19:02:05 -0500
In trying to work around the problem, I also realized that there is no
xmlpp::Document::cobj() function. While it is not entirely essential to
what I am doing, it would make things easier, and I think it is still
useful. If nobody objects, I'll also make a patch for this function for
the 2.5 branch.
Jim
On Wed, 2004-02-04 at 05:10, Christophe de VIENNE wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
>
> Jim Garrison wrote:
>
> |
> | -----Forwarded Message----- From: Jim Garrison <garrison case edu>
> | To: libxmlplusplus-general lists sourceforge net Subject: Propose
> | Document::create_root_node_by_import () Date: Wed, 28 Jan 2004
> | 22:21:16 -0500
> |
> | Hello,
> |
> | I would like to propose the addition of a function to
> | xmlpp::Document. Right now, one can only create a root node with
> | the given function create_root_node(), and then manipulate that
> | Node. My proposed function (something like
> | Document::create_root_node_by_import) would take a Node from an
> | existing Document and import it in the spirit of
> | Node::import_node(). So basicly, this adds the import
> | functionality so that an entire document can be created from a
> | arbitrary Node in a different document.
> |
> | The biggest reason I need to do this is so that I can create a
> | string that holds all the XML within a certain node. If there's a
> | better way to do this, please let me know. If not, would this type
> | of patch be accepted? If so, would it be able to go in the 1.0
> | branch? I don't think it would break anything in terms of the ABI.
> |
> |
>
> Hi,
>
> The way you propose to implement the functionnality, you will have the
> xml header in the resulting string. If it's what you want then it's
> probably the best way to do it.
> A patch is welcome, and will probably go in 1.0 branch is ABI is not
> broken.
>
> Cheers,
>
> Christophe
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.3 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
> iD8DBQFAIMUpB+sU3TyOQjARAgSJAJ9SZOkKdCU2O5K1MjsepDJkv4f8lwCggllB
> 19JqHRtGO/OMvo2R/GBv4PM=
> =f3qP
> -----END PGP SIGNATURE-----
>
>
>
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> _______________________________________________
> Libxmlplusplus-general mailing list
> Libxmlplusplus-general lists sourceforge net
> https://lists.sourceforge.net/lists/listinfo/libxmlplusplus-general
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]