xsl-list
[Top] [All Lists]

RE: xsl:copy-of problem with < and > chars by html output

2005-01-11 06:46:55
Hi, try it using the entitiy references:

&lt; < less than 
&gt; > greater than 
&amp; & ampersand  
&apos; ' apostrophe 
&quot; " quotation mark 

Or may be you could use the <![CDATA[ YOUR_CODE ]]> to get a string output
as you write.  It is used when you need put a JavaScript function in your
output document, by example.

Dago Flores

-----Original Message-----
From: Markus Hanel [mailto:markus(_dot_)hanel(_at_)gmx(_dot_)at] 
Sent: January 11, 2005 2:34 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: RE: [xsl] xsl:copy-of problem with < and > chars by html output




From: Markus Hanel [mailto:markus(_dot_)hanel(_at_)gmx(_dot_)at]

hello,

I am having a problem with the xsl:copy-of function by creating html 
output. I want to fill in a complete node set with content into a
textarea and have
problems with the < and > chars.

Hi Markus,

Are you actually wanting literal XML _markup_ to be displayed in the 
textarea control?

-ml-
If it is possible with xsl, the complete content: node set and text should
be displayed. The problem is how to handle with the chars < and >.

markus
 

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


-- 
-----------------------------
Mag. Markus Hanel
Rottweilerstraße 29
A-6460 IMST
0650 - 7847941
markus(_dot_)hanel(_at_)gmx(_dot_)at
----------------------------

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>