Subject: Re: JSP output From: Paul_Tihansky@xxxxxxxxxxxx Date: Tue, 9 May 2000 15:35:26 -0400 |
Holger, Thanks for the response. Your suggestion worked like a charm. And now I also think I understand how to solve my other JSP issues. Thanks, Paul Tihansky The Vanguard Group 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> >> Holger Klawitter wrote: > 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 DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: JSP output, Holger Klawitter | Thread | sgml source filenames?, Angus Lees |
Including the result of an external, Gary Lawrence Murphy | Date | [OpenJade] Why did -wno-idref disap, T. Kurt Bond |
Month |