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

[xml] xmlEncodeSpecialChars and carriage reurn / CRLF / 0x0D 0x0A / \r\n / 13,10



I am generate xml file with MSOffice spreedsheet format. In workbook i place few carriage return (ctr+enter), after i save workbook to xml format from Excel i see what xml replace \n to "
", so if i just replace this symbol to \n (10 dec) - Excel don't understand this. From my program i generate this xml format, but i can't write "
" with xmlEncodeSpecialChars, libxml2 understand only "\r" and convert him to "
". Now i just open xml file and replace "__newline__" tag on "
". Can i reimplement global escape function with my or may be libxml2 have function like writeRawString without check content ?


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