cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alberto Brosich <bros...@units.it>
Subject xslt transformer doesn't find the value of attributes
Date Fri, 01 Sep 2006 08:53:20 GMT

I have a strange problem.

I have a simple stylesheet where I match nodes and use their attribute. 
Follow a snip:

...
<xsl:template match="rfc:include">
    <xsl:element name="p"><xsl:value-of select="@name"/></xsl:element>
    <xsl:element name="table">
        <xsl:apply-templates />
    </xsl:element>
</xsl:template>
...

rfc:include is matched, element "<p>" is written but xsl:value-of 
retrieves no value and so on in the other templates.
I tried also saxon but the result is the same.

Using the stylesheet and the xml file saved from pipeline with command 
line version of xalan works all fine!
So, where's the mistake?

Thanks in advance

Alberto


Cocoon 2.1.9
Sun JDK 1.5.0_4
Debian sarge

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message