clojure.xml

by Rich Hickey

Full namespace name: clojure.xml

Overview

XML reading/writing.

Public Variables and Functions

parsefunction

Usage: (parse s)
       (parse 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

Added in Clojure version 1.0

Source

© Rich Hickey
Licensed under the Eclipse Public License 1.0.
https://clojure.github.io/clojure/clojure.xml-api.html