Subject: RE: emitting comments From: Pieter Rijken <pieter.rijken@xxxxxx> Date: Wed, 4 Aug 1999 14:15:30 +0200 |
Hi Holger, > > Here is a way to emit SGML comments: > > (define (make-comment comment) > (make formatting-instruction data: (string-append > "<" > "!--" > comment > "-->" > )) > ) > > > Note the separation of "<" and "!--". If you put both into one > string the whole result will be eaten. Is this a bug or a feature? Neither, it's well-defined behaviour according to the spec. A DSSSL file is just SGML, but with the contents in accordance with the DSSSL spec. Because it's SGML '<!--' is the start of a comment. pieter -- Pieter Rijken E-mail: pieter.rijken@xxxxxx CMG Telecommunications and Utilities B.V. Division Advanced Technology Nieuwekade 1-19 P.O. Box 8038 Phone: +31 30 2339300 3503 RA Utrecht Fax: +31 30 2339495 The Netherlands ------------------------------------------------------------------- DISCLAIMER: This statement is not an official statement from, nor does it represent an official position of, CMG Telecommunications and Utilities B.V. ------------------------------------------------------------------- DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: emitting comments, Holger Klawitter | Thread | RE: emitting comments, Avi Kivity |
emitting comments, Holger Klawitter | Date | RE: emitting comments, Avi Kivity |
Month |