2016-12-22 5:23 GMT+01:00 Francis Hitchens <fhitc...@gmail.com>: > > Hi Herwig, > > Thanks for the quick response. So I upgraded to the latest version and now > I see my tags represented not as QName Java objects but as horribly long > keywords like so... > > xmlns.http%3A%2F%2Fintegration.sprint.com%2Fv2%2Fcommon% > 2FCanonicalDataModel.xsd/mqMessageHeader > > Is there a way I can shorten them so that they are similar to the ones in > the XML document :can:mqMessageHeader? > > Is this what alias-uri is for, I couldn't figure out how it should work. >
Indeed. alias-uri establishes a clojure namespace alias for such a long keyword namespace: (alias-uri :can "http://integration.sprint......Model.xsd") ::can/mqMessageHeader This is documented in the README https://github.com/clojure/data.xml#namespace-support, I'll try to also clarify the docstrings for the next release. -- 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.