Cameron McCormack:
> Thanks, that was the problem.  I changed the initialised the
> XMLSerializer like this
> 
>   XMLSeralizer serializer = new XMLSerializer(System.out, format);
> 
> and it works perfectly.

Plus I can create an OutputStreamWriter that wraps around System.out
with an encoding of UTF-8 so that I can use the serialised document that
was stored in the StringWriter.

-- 
Cameron McCormack
  // [EMAIL PROTECTED]
  // http://www.csse.monash.edu.au/~clm/
  // icq 26955922

Reply via email to