Hi Francis,

first off: if you can afford it, I'd recommend working with the 0.2.0
series, as the 0.1.0 namespace api is legacy.

In the 0.2.0 series, the mapping of keyword prefix to xmlns is unique and
fixed, so names are always parsed as keywords (though QName instances still
are permitted for emitting).
In the 0.1.0 series, namespaced names are only rewritten to keyword form,
if there is an active alias, established by declare-ns.

An example for using 0.2.0 is here
https://github.com/webnf/davstore/blob/master/src/server/webnf/davstore/dav/xml.cljc,
though 0.1.0 works in a similar way, if declare-ns is used.

tag= of xml-zip and other processing equipement should just work as with
non-namespaced names (which are represented as blank keywords, as before)

data.xml also has qname-uri and qname-local to get at the respective parts
of an accepted qname representation (keyword, qname instance, string). The
qname prefix should be completely discarded during xml processing (which
data.xml does).

hope that helps

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to