Skip to content

Instantly share code, notes, and snippets.

@digash
Created May 6, 2010 17:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save digash/392430 to your computer and use it in GitHub Desktop.
Save digash/392430 to your computer and use it in GitHub Desktop.
(defn startparse-tagsoup [s ch]
(.parse (doto (org.ccil.cowan.tagsoup.Parser.)
(.setContentHandler ch))
(org.xml.sax.InputSource. s)))
(xml/parse "http://bla" startparse-tagsoup)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment