diff --git a/api-index.html b/api-index.html index 67a33de..7f974fd 100644 --- a/api-index.html +++ b/api-index.html @@ -1,7 +1,7 @@
-- + as-elements function clojure.data.xml Return a seq of elements represented by an express... + AsElements protocol clojure.data.xml +
seq-tree function clojure.data.xml Takes a seq of events that logically represents a ... + sexp-as-element function clojure.data.xml Convert a single sexp into an Element. + sexps-as-fragment function clojure.data.xml Convert a compact prxml/hiccup-style data structur... source-seq function clojure.data.xml Parses the XML InputSource source using a pull-par...diff --git a/index-0.0.6.clj b/index-0.0.7.clj similarity index 58% rename from index-0.0.6.clj rename to index-0.0.7.clj index 7c2987d..9aff0e5 100644 --- a/index-0.0.6.clj +++ b/index-0.0.7.clj @@ -1,6 +1,6 @@ {:namespaces ({:source-url - "https://github.com/clojure/data.xml/blob/680dc2ba7a5dab8d95eae42f6e9fd8df49902855/src/main/clojure/clojure/data/xml.clj", + "https://github.com/clojure/data.xml/blob/205a9df7ea77679b4d4a253a68775859fb13a1a1/src/main/clojure/clojure/data/xml.clj", :wiki-url "http://clojure.github.com/data.xml/clojure.data.xml-api.html", :name "clojure.data.xml", @@ -12,126 +12,153 @@ :name "emit", :namespace "clojure.data.xml", :source-url - "https://github.com/clojure/data.xml/blob/680dc2ba7a5dab8d95eae42f6e9fd8df49902855/src/main/clojure/clojure/data/xml.clj#L264", + "https://github.com/clojure/data.xml/blob/205a9df7ea77679b4d4a253a68775859fb13a1a1/src/main/clojure/clojure/data/xml.clj#L323", :raw-source-url - "https://github.com/clojure/data.xml/raw/680dc2ba7a5dab8d95eae42f6e9fd8df49902855/src/main/clojure/clojure/data/xml.clj", + "https://github.com/clojure/data.xml/raw/205a9df7ea77679b4d4a253a68775859fb13a1a1/src/main/clojure/clojure/data/xml.clj", :wiki-url "http://clojure.github.com/data.xml//clojure.data.xml-api.html#clojure.data.xml/emit", :doc "Prints the given Element tree as XML text to stream.\nOptions:\n :encoding
Usage: (as-elements expr) ++
Return a seq of elements represented by an expression.+ + + +
Emits the XML and indents the result. Writes the results to a String and returns it- Source + Source
Usage: (sexp-as-element sexp) ++
Convert a single sexp into an Element+ + + Source +
Usage: (sexps-as-fragment) + (sexps-as-fragment sexp) + (sexps-as-fragment sexp & sexps) ++
Convert a compact prxml/hiccup-style data structure into the more formal +tag/attrs/content format. A seq of elements will be returned, which may +not be suitable for immediate use as there is no root element. See also +sexp-as-element. + +The format is [:tag-name attr-map? content*]. Each vector opens a new tag; +seqs do not open new tags, and are just used for inserting groups of elements +into the parent tag. A bare keyword not in a vector creates an empty element. + +To provide XML conversion for your own data types, extend the AsElements +protocol to them.+ + + Source