-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
(let [stylesheet (xsl/stylesheet {:version 3.0}
(xsl/variable {:name "break1" :select "'
'"})
(xsl/variable {:name "break2"}
(xsl/text "\n"))
(xsl/template {:match "a"}
[:b]
[:p (xsl/value-of {:select "$break1"})]
[:p (xsl/value-of {:select "$break2"})]))
compiled-stylesheet (xslt/compile-sexp stylesheet)]
(xslt/transform compiled-stylesheet "<a/>"))
gives me
<b/>\n<p>&#x0A;</p>\n<p>\n</p>
which is weird. I'd expect to see '
' not an amp.
Metadata
Metadata
Assignees
Labels
No labels