org.ccil.cowan.tagsoup/tagsoup

TagSoup is a SAX-compliant parser written in Java that, instead of parsing well-formed or valid XML, parses HTML as it is found in the wild: poor, nasty and brutish, though quite often far from short. TagSoup is designed for people who have to process this stuff using some semblance of a rational application design. By providing a SAX interface, it allows standard XML tools to be applied to even the worst HTML. TagSoup also includes a command-line processor that reads HTML files and can generate either clean HTML or well-formed XML that is a close approximation to XHTML.

  • VCSN/A

  • cljdoc documentationcljdoc
  • 787,197 Downloads
  • 787,197 This Version
This artifact may shadow a release on Maven Central. You should search there for a canonical release.

Leiningen/Boot

[org.ccil.cowan.tagsoup/tagsoup "1.2.1"]

Clojure CLI/deps.edn

org.ccil.cowan.tagsoup/tagsoup {:mvn/version "1.2.1"}

Gradle

implementation("org.ccil.cowan.tagsoup:tagsoup:1.2.1")

Maven

<dependency>
  <groupId>org.ccil.cowan.tagsoup</groupId>
  <artifactId>tagsoup</artifactId>
  <version>1.2.1</version>
</dependency>