problem with msxml
"Gabest" <[email protected]> Fri, 28 Feb 2003 21:44:42 +0100
| Newsgroups | gmane.comp.multimedia.usf.devel |
|---|---|
| Message-ID | <043e01c2df6a$386b78d0$0100a8c0@i2400p4> |
I got a little trouble with spaces and new-lines, I hope someone can help... This msxml thing I'm using can extract the text in two modes, both are not good for some reason: 1. IXMLDOMNode::get_text(..) Trims leading and ending spaces between tags (bad (what does the xml standard say?)), but doesn't insert new-lines when the text file includes a new line char 0x0a (good). "Welcome to <b><i>The Core Media Player</i></b>" "Welcome toThe Core Media Player". 2. IXMLDOMNode::get_xml(..) Leaves spaces (good), but also leaves new-lines (bad). "<font color="#FF0000" outline-color="#7F0000">Red</font>, <font color="#00FF00" outline-color="#007F00">Green</font>, <font color="#0000FF" outline-color="#00007F">Blue</font>" "Red, Green, Blue" http://usf.corecodec.org