On 8/19/2012 5:37, rory wrote:
See item #4 in the developer FAQ: http://xmlsoft.org/FAQ.html#Developer "In XML all characters in the content of the document are significant including blanks and formatting line breaks. The extra nodes you are wondering about are just that, text nodes with the formatting spaces which are part of the document but that people tend to forget. There is a function xmlKeepBlanksDefault () to remove those at parse time, but that's an heuristic, and its use should be limited to cases where you are certain there is no mixed-content in the document." Jason |