It doesn't need CDATA - data.xml just automatically escapes XML
special-characters if it sees them.

On Jan 17, 4:12 pm, jweiss <jeffrey.m.we...@gmail.com> wrote:
> By the way, the reason I stuck with prxml is its handling of CDATA,
> which as far as I know, the newer lib doesn't do yet.
>
> On Jan 17, 8:10 am, cassiel <n...@cassiel.com> wrote:
>
>
>
>
>
>
>
> > This is straight from the doc string:
>
> > (with-out-str (p/prxml [:p {:class "greet"} [:i "Ladies &
> > gentlemen"]]))
>
> > Works in Clojure 1.2.1:
>
> > (:ok "\"<p class=\\\"greet\\\"><i>Ladies &amp; gentlemen</i></p>\"")
>
> > (that's pasted from the slime event buffer, hence the superfluous
> > armour.)
>
> > Fails in Clojure 1.3.0:
>
> > clojure.lang.Numbers.lt(II)Z
> >   [Thrown class java.lang.NoSuchMethodError]
>
> > Is prxml still being supported? If not, is there a better Clojure-DSL-
> > to-XML package?

-- 
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

Reply via email to