Skip to main content

clojure.data.xml

A

  • aggregate-xmlns

    Put all occurring xmlns into the root

  • alias-uri

    Define a Clojure namespace aliases for xmlns uris. This sets up the current namespace for reading qnames denoted with...

C

  • cdata

    Create a CData node

E

  • element

    Create an xml Element from content varargs

  • element*

    Create an xml element from a content collection and optional metadata

  • element-nss

    Get xmlns environment from element

  • emit

    Prints the given Element tree as XML text to stream. Options: :encoding <str> Character encoding to use ...

  • emit-str

    Emits the Element to String and returns it. Options: :encoding <str> Character encoding to use :doct...

  • event-seq

    Parses an XML input source into a lazy sequence of pull events. Input source can be a java.io.InputStream or java.io.Re...

F

  • find-xmlns

    Find all xmlns occuring in a root

I

  • indent

    Emits the XML and indents the result. WARNING: this is slow it will emit the XML and read it in again to indent it. ...

  • indent-str

    Emits the XML and indents the result. Writes the results to a String and returns it

P

  • parse

    Parses an XML input source into a a tree of Element records. The element tree is realized lazily, so huge XML files can ...

  • parse-str

    Parses an XML String into a a tree of Element records. Options: :include-node? subset of #{:element :characters :com...

  • print-uri-file-command!

    Shell command to create a dummy file for xmlns. Execute from a source root.

Q

  • qname-local

    Get the name for this qname

  • qname-uri

    Get the namespace uri for this qname

S

  • sexp-as-element

    Convert a single sexp into an Element

  • sexps-as-fragment

    Convert a compact prxml/hiccup-style data structure into the more formal tag/attrs/content format. A seq of elements ...

U

  • uri-file

    Dummy file name for :require'ing xmlns uri

X