[xml] 
 doubt



Hi,

Is there a way of converting the "\n" to 
 or 
 when I serializing the DOM tree
using xmlDocDumpFormatMemory?

I already tried to put 
 instead "\n" but the & is replaced. And I get 


I tried with xmlSubstituteEntitiesDefault(0); and xmlSubstituteEntitiesDefault(1);
and I got the same result with both.

And I also tried not create the node that will contain the "
" as content with xmlNewChild instead
xmlNewTextChild.

thanks in advance.

--
Guilherme Balestieri Bedin [gbedin]




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