Re: [xml] How to insert CDATA node in a xml tree

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).



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]