Skip to content

Instantly share code, notes, and snippets.

Created November 7, 2010 00:04
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 anonymous/665831 to your computer and use it in GitHub Desktop.
Save anonymous/665831 to your computer and use it in GitHub Desktop.
<amalloy> (doc clojure.xml/parse)
<sexpbot> ⟹ "([s] [s startparse]); Parses and loads the source s,
which can be a File, InputStream or String naming a URI. Returns a
tree of the xml/element struct-map, which has the keys :tag, :attrs,
and :content. and accessor fns tag, attrs, and content. Other parsers
can be supplied by passing startparse, a fn taking a source and a
ContentHandler and returning a parser"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment