I'm using xerces XML library to parse xml files in C++. According to comment
of DOMNode::getTextContent(), "the returned string does not contain the
white spaces in element content", looks like i can get the new line
character.
E.g. my xml is:
http://old.nabble.com/file/p28654789/xml.png 

I would get
1st line2nd line
through DOMNode::getTextContent().
My question is, whether there is any other way i can use to get the text
content with new line character, just as same as it is in xml file?

My excepted result is:
1st line
2nd line


Thanks.
-- 
View this message in context: 
http://old.nabble.com/About-DOMNode%3A%3AgetTextContent%28%29-in-Xerces-C%2B%2B-tp28654789p28654789.html
Sent from the Xerces - C - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org
For additional commands, e-mail: c-dev-h...@xerces.apache.org

Reply via email to