Re: [libxml++] Add CdataNode to DOM tree
- From: Murray Cumming <murrayc murrayc com>
- To: Andrej van der Zee <andrejvanderzee gmail com>
- Cc: Libxmlplusplus-general lists sourceforge net
- Subject: Re: [libxml++] Add CdataNode to DOM tree
- Date: Thu, 09 Sep 2010 21:21:30 +0200
On Wed, 2010-08-18 at 15:01 +0900, Andrej van der Zee wrote:
> Hi,
>
> In need a way to add a CdataNode child to a Node*. I can only find
> examples how to read CdataNode and examples how to add TextNode. Is
> there a way to create a CdataNode and add it to a DOM tree?
Should we just add an Element::set_child_cdata() method, like the
existing ones Element::set_child_text() method?
http://library.gnome.org/devel/libxml
++/unstable/classxmlpp_1_1Element.html#a9be4234049fe13f2941d9c7a5dbc37e2
And an add_child_cdata() like add_child_text()?
http://library.gnome.org/devel/libxml
++/unstable/classxmlpp_1_1Element.html#a15cd56e871aaf9625b7f4fbedb97c764
--
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]