Tidy.pprint() doesn't work!

Hi,

I tried using Tidy.pprint() to output a document but it gives me a blank 
file.  Am I missing something?  Here's my code...

Tidy tidy = new Tidy();
tidy.pprint(document, new FileOutputStream("xyz.txt"));

"document" is a simple test XML file I'd created.

Any help is appreciated.

jd

_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com

Received on Wednesday, 19 June 2002 17:35:50 UTC