[cxml-devel] cxml:doctype function

Steven Nunez steve_nunez at yahoo.com
Sat Jun 20 22:14:46 UTC 2009


Thanks, but that's still a newline within an element. It's a fine point, and not terribly important, but ideally we want is something that produces:
<!-- comment line 1 --><!-- comment line 2 -->

Cheers,    - Steve
--- On Sat, 6/20/09, David Lichteblau <david at lichteblau.com> wrote:

From: David Lichteblau <david at lichteblau.com>
Subject: Re: [cxml-devel] cxml:doctype function
To: "Nunez Steve" <steve_nunez at yahoo.com>
Cc: cxml-devel at common-lisp.net
Date: Saturday, June 20, 2009, 3:20 PM

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



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/cxml-devel/attachments/20090620/0f90e912/attachment.html>


More information about the cxml-devel mailing list