Skip to content

Instantly share code, notes, and snippets.

@digash
Created May 6, 2010 17:35
Show Gist options
  • Select an option

  • Save digash/392430 to your computer and use it in GitHub Desktop.

Select an option

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