W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2002

Tidy.pprint() doesn't work!

From: John Davidson <jd001982@hotmail.com>
Date: Wed, 19 Jun 2002 14:35:18 -0700
To: html-tidy@w3.org
Message-ID: <F262MZRMkLWWWXk1wwH00022799@hotmail.com>


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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:52 GMT