[xml] Converting text to CDATA



What is the best way to use CDCDATAlocks to
inencapsulatehe text?

Right now I do something like this in order to fill in
my_node with some_string:

xmxmlNodeSetContenty_node,BAD_CAST
some_string.c_ststr);

I could manually add the CDCDATAdentifiers like this:

xmxmlNodeSetContenty_node,BAD_CAST ("<![CDCDATA +
some_string + "]]").c_ststr);

but I am thinking that lilibxmlhould supply some
utilities to do this auautomaticallynd I just could
not find them

Thanks,
TaTavi


                
Discover Yahoo! 
Find restaurants, movies, travel and more fun for the weekend. Check it out! 
http://discover.yahoo.com/weekend.html 




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