[jdom-interest] Problems with Mixed Content and XMLOutputter

Jason Hunter jhunter at servlets.com
Thu Jul 26 18:37:08 PDT 2007


> We handle with XML-Documents including elements with mixed-content.
> 
>  
> 
> an easy example:
> 
> =============
> 
>> 
> <text>
> 
>             <Content><P>Hello <B>World</B> how are you?</P></Content>
> 
> </text>
> 
>> 
>  
> 
> I have to use Compact-Format to output the document as string.

Why do you have to use the compact format?  Why not leave the whitespace 
alone?

-jh-


More information about the jdom-interest mailing list