|
Subject: Re: JSP output From: Holger Klawitter <holger@xxxxxxxxxxxx> Date: Mon, 08 May 2000 15:55:07 +0200 |
Paul_Tihansky@xxxxxxxxxxxx wrote:
>
> Hi,
> I was wondering if anyone has created a DSSSL function for outputting
> unmodified character data, such as "<", ">", and "&", from Jade. I need to be
> able to place JSP code in my XML document, and pass it untouched to the output.
>
> Here's an example:
> <script>
> <![CDATA [size=10;
> for (i=0; i < size; i++) {
> foo = bar[i];
> }
> ]]></script>
>
The following should work:
(element script (make formatting-instruction data: (string-append
"<![CDATA[<%]]>" (data (current-node)) "<![CDATA[%>]]>"
)))
I also like that one :-)
(element script (make empty-element gi: (string-append
"%" (data (current-node)) "%"
)))
Regards,
Holger Klawitter
--
Holger Klawitter +49 (0)251 484 0637
holger@xxxxxxxxxxxx http://www.klawitter.de/
DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| JSP output, Paul_Tihansky | Thread | Re: JSP output, Paul_Tihansky |
| JSP output, Paul_Tihansky | Date | RE: RE: per-page images in print do, Konovalov, Vadim |
| Month |