xsl-list
[Top] [All Lists]

cdata-section-elements

2003-10-23 09:20:40
hello,
I'm having a bit of trouble w/ using the cdata-section-elements attribute of <xsl:output>.
I made this simple exampe, and this doesn' work.  what am I doing wrong?

a.xml
<a/>

a.xsl
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
  <xsl:output method="xml" cdata-section-elements="script"/>
  <xsl:template match="/">
     <script>
        if( i < 1 ) do something.
     </script>
  </xsl:template>
</xsl:stylesheet>

_________________________________________________________________
Surf and talk on the phone at the same time with broadband Internet access. Get high-speed for as low as $29.95/month (depending on the local service providers in your area). https://broadband.msn.com


XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



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