[cxml-devel] cxml:doctype function
David Lichteblau
david at lichteblau.com
Sat Jun 20 05:20:43 UTC 2009
Quoting Nunez Steve (steve_nunez at yahoo.com):
> Thanks. What I am hoping for is a way to write multi-line comments.
> cxml:text doesn't seem to work outside elements.
Same approach.
CL-USER> (cxml:with-xml-output
(cxml:make-character-stream-sink *standard-output*)
(cxml:comment (format nil "~%foo~%bar~%"))
(cxml:with-element "test"))
<?xml version="1.0" encoding="UTF-8"?>
<!--
foo
bar
--><test/>
More information about the cxml-devel
mailing list