XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
RE: [xml-dev] How to convert html file to xml format using Tagsoup

Tagsoup will convert an html file to an xhtml file directly:
 
java -jar tagsoup-1.2.jar test.html > test.xhtml
 
Cheers,
Peter


From: Jack Bush [mailto:netbeansfan@yahoo.com.au]
Sent: October 31, 2008 9:12 AM
To: xml-dev@lists.xml.org
Subject: [xml-dev] How to convert html file to xml format using Tagsoup

Hi All,
 
I would like to find out how to convert html file to xml format using Tagsoup in Java 6.
 
I have read through all the documents from http://tagsoup.info and other Google searches but could not find much useful material. Majority of these material are more for overview as opposed to explanation on how to use each classes provided by Tagsoup package.
 
Both tagsoup-1.2.jar and tagsoup-1.2-src.zip have been downloaded but only has the instruction to use tagsoup-1.2.jar as a stand- alone command. However, I am looking for some examples on how to do the conversion in Java instead.
 
There are no documentation in tagsoup-1.2-src.zip. I would like to compile the source code (only if it will add values on top of what the jar file has not already provide) in Netbeans but do not have the instruction to do so.
 
Any guidance would be much appreciated.
Many thanks,
Jack


Search 1000's of available singles in your area at the new Yahoo!7 Dating. Get Started.


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS