Re: [jade] formatting-instruction strips out markup in data:

Subject: Re: [jade] formatting-instruction strips out markup in data:
From: Daniel Speck <dspeck@xxxxxxx>
Date: Wed, 06 Jan 1999 09:33:51 -0500
As David points out, the problem is that the DSSSL spec is also an SGML
document. There are several techniques that can be used, e.g.,

(make formatting-instruction data: "&#60;P>foo</P>")

or

<![CDATA[
(make formatting-instruction data: "<P>foo</P>"))
]]>

or

(make formatting-instruction data: (string-append "<" "P>foo</P>")))

or ...

-dan

David Carlisle wrote:

> (define ($html-body-start$)
>   (make formatting-instruction data: "<P>foo</P>"))
>
> Remember that the dsssl spec is parsed as sgml against the dsssl spec dtd
> first before anything else happens, so <P> fails already at that point.
>
> You can replace < by &#60; then it will write out <P> to your
> output as you want.
>
> David
>
>  DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist



--
Daniel Speck
Bureau of National Affairs, Inc.               Voice: +1 202.452.6596
1231 25th Street, NW                             Fax: +1 202.331.5178
Washington, DC 20037                          e-mail:  dspeck@xxxxxxx



 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread