Hi Alberto,

this looks like a strange problem. Are you sure it's matching the correct 
matcher?

Regards,

Reijn

-----Original Message-----
From: Alberto Brosich [mailto:[EMAIL PROTECTED]
Posted At: vrijdag 1 september 2006 10:53
Posted To: Cocoon User List
Conversation: xslt transformer doesn't find the value of attributes
Subject: xslt transformer doesn't find the value of attributes



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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to