cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Makeig <li...@makeig.com>
Subject Re: NCName:* or QName was expected
Date Mon, 20 Oct 2003 07:31:01 GMT
This has nothing to do with Cocoon. Your select statement is invalid. You
need an element name (QName) or a wildcard (*) along the attribute axis (@)
of your copy-of. Try:

<xsl:template match="abc:*">
     <xsl:copy><xsl:copy-of select="node() | @*"/></xsl:copy>
</xsl:template>

Or even better,

<xsl:template match="abc:*">
    <xsl:copy-of select="."/>
</xsl:template>


- Justin



On 10/20/03 12:04 AM, "iyy" <iyy@apparelxml.net> wrote:

> <xsl:template match="abc:*">
>     <xsl:copy><xsl:copy-of select="node() | @"/></xsl:copy>
> </xsl:template>



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


Mime
View raw message