Re: [xml] How to insert CDATA node in a xml tree
- From: Piotr Sipika <piotreks optonline net>
- To: Foulques Nera <foulques nera gmail com>
- Cc: xml gnome org
- Subject: Re: [xml] How to insert CDATA node in a xml tree
- Date: Wed, 24 Oct 2012 10:45:38 -0400
Which function from API is needed to include data CDATA in a xml tree ?
Try xmlNewCDataBlock [1].
Do you have a small sample ?
No, but if you look at the code sample page [2], you should be able to
find examples of adding child nodes into a document (see tree2.c).
[1]: http://xmlsoft.org/html/libxml-tree.html#xmlNewCDataBlock
[2]: http://xmlsoft.org/examples/index.html
Cheers,
Piotr
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]