I'm not sure if that is possible, but in the worst-case scenario, you
could write it to a memory buffer, then find the size of that buffer and
then send that buffer. XMLOutputter takes an OutputStream, and there
does exist ByteArrayOutputStream.
Jason
Noah Levitt wrote:
> How is a person supposed to determine the output length when writing
> out xml with XMLOutputter? This would be handy for setting content
> length header in http request or response.
>
> Noah
>
> _______________________________________________
> To control your jdom-interest membership:
> http://www.jdom.org/mailman/options/jdom-interest/youraddr@(protected)
_______________________________________________
To control your jdom-interest membership:
http://www.jdom.org/mailman/options/jdom-interest/youraddr@(protected)