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>


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.


Join the world’s largest e-mail service with MSN Hotmail. 
Received on Wednesday, 19 June 2002 17:35:50 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:52 UTC