Re: JSP output

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
  • JSP output
    • Paul_Tihansky - Mon, 8 May 2000 09:30:20 -0400 (EDT)
      • Holger Klawitter - Mon, 8 May 2000 10:23:47 -0400 (EDT) <=
      • <Possible follow-ups>
      • Paul_Tihansky - Tue, 9 May 2000 15:57:42 -0400 (EDT)