xsl-list
[Top] [All Lists]

cdata()

2003-03-11 10:11:39
Hi :)

I have an old xsl file that use the namespace <xsl:stylesheet 
xmlns:xsl="http://www.w3.org/TR/WD-xsl";> 
In this xsl is used the following code:

<xsl:for-each select="cdata()">
        <xsl:eval no-entities="1">this.nodeTypedValue</xsl:eval>
</xsl:for-each>

This code select all CDATA sections, using "cdata()", and write the value of 
each CDATA section. (this works fine!)
But using the namespace above I can't use "<xsl:call-template name="xpto">
So I use the namespace <xsl:stylesheet version="1.0" 
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";> but this don't recognize the 
"cdata()" function! 
Anyone can help me?
Tks


Hélder Sousa
Departamento de  Projectos e-Business 
I2S - Informática Sistemas e Serviços 
<<mailto:helder(_dot_)sousa(_at_)i2s(_dot_)pt>> - <<http://www.i2s.pt/>>
Tel.: +351 22 834 04 00; Fax: +351 22 834 07 95 
Portugal 

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



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