Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: "XHTML file" cannot be identified by nokia 66

From: s917124@----.---.---.-- (----)
To: NULL
Date: 10/26/2004 8:12:00 AM
regards,followings are my codes.
  first I import the api.
  You know,:),and then.

        ---------------------------------------------------------
        import org.w3c.tidy.Tidy;
	
	Tidy tidy = new Tidy();
        tidy.setCharEncoding(4);
        //  tidy.setXmlTags(false);
        System.out.println("tidy test");
        //at input not XML
        //tidy.setQuiet(true);
        //tidy.setShowWarnings(true);                                 
        //tidy.setXmlOut(false);
                       
        tidy.setXHTML(true);
        FileInputStream pw2 = new FileInputStream("page.txt");
        FileOutputStream pw3 = new FileOutputStream("page2.txt");
        tidy.parse(pw2,pw3);
	pw2.close();
	pw3.close();
	---------------------------------------------------------
	page.txt is HTML document input.
	page2.txt is XHTML document output.	
	but my nokia6600 cannot identify the page2.txt.
	Did I miss something important?
	thank you. 
	best wishes


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent