Documentation for TagSoup

2,431 views
Skip to first unread message

firnnauriel

unread,
Mar 23, 2010, 11:43:43 PM3/23/10
to tagsoup-friends
Hi Guys,

I'm new here. Just asking where can I find a complete documentation
for the APIs available in the tagsoup.jar file.

It seems it is not indicated in the home page (http://mercury.ccil.org/
~cowan/XML/tagsoup/)

I downloaded the PDF file (about presentation i think) but it seems it
does not contain the things I need.

Any help will be highly appreciated.

Thanks.

John Cowan

unread,
Mar 24, 2010, 1:11:01 AM3/24/10
to firnnauriel, tagsoup-friends
firnnauriel scripsit:

> I'm new here. Just asking where can I find a complete documentation
> for the APIs available in the tagsoup.jar file.

Like almost all XML parsers, TagSoup exposes the SAX API, which is
documented at http://www.saxproject.org . SAX is a streaming API.
If you prefer a tree API, TagSoup works well with XOM at http://xom.nu .
The home page explains the TagSoup-specific SAX features and properties.
There is no "native TagSoup API" other than those.

--
After fixing the Y2K bug in an application: John Cowan
WELCOME TO <censored> co...@ccil.org
DATE: MONDAK, JANUARK 1, 1900 http://www.ccil.org/~cowan

firnnauriel

unread,
Mar 24, 2010, 1:38:34 AM3/24/10
to tagsoup-friends
Thanks for the response John.

Understood. It seems that I was also able to find what I need. I'm
working on a Grails project and this class,
http://groovy.codehaus.org/api/groovy/util/XmlSlurper.html, works
pretty smooth with TagSoup and navigation is very easy.

Thanks again.

On Mar 24, 1:11 pm, John Cowan <co...@ccil.org> wrote:
> firnnauriel scripsit:
>
> > I'm new here. Just asking where can I find a complete documentation
> > for the APIs available in the tagsoup.jar file.
>
> Like almost all XML parsers, TagSoup exposes the SAX API, which is

> documented athttp://www.saxproject.org.  SAX is a streaming API.

Reply all
Reply to author
Forward
0 new messages