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 [EMAIL PROTECTED]  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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to