2008/5/16 Walter Gillett <
walter_gillett@...>:
> I switched from MarkupBuilder to StreamingMarkupBuilder in order to create
> mixed content, which works great. But the resulting text output is a single
> long line of text, unlike the output from MarkupBuilder. Any suggestions on
> how to make the output of StreamingMarkupBuilder have newlines in it? I
> tried to find documentation for StreamingMarkupBuilder and was unsuccessful.
> Downloaded the source code but it is uncommented, and looking at the code
> for this class didn't give me any insights.
I believe that one ugly is approach is to use "mkp.yield '\n'" or
possibly "mkp.yieldUnescaped '\n'".
Cheers,
Peter
--
Software Engineer
G2One, Inc.
http://www.g2one.com/---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email