xerces-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 16930] - DOMWriter's setNewLine() function doesn't work
Date Mon, 10 Feb 2003 20:24:55 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16930>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16930

DOMWriter's setNewLine() function doesn't work





------- Additional Comments From zhangpy@hotmail.com  2003-02-10 20:24 -------
Yifan,

    You need to set format-pretty-print to "true" in order to get your new end 
of line sequence to be printed in the resultant xml stream.

  eg.
    setNewLine(XMLString::transcode("\n"));
    setFeature(XMLUni::fgDOMWRTFormatPrettyPrint, gFormatPrettyPrint);

Rgds,
PeiYong

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


Mime
View raw message