You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by iyy <iy...@apparelxml.net> on 2003/10/20 09:52:01 UTC

That solved the problem. Thank You Re: NCName:* or QName was expected

That solved the problem. Thank You
----- Original Message -----
From: "Justin Makeig" <li...@makeig.com>
To: <us...@cocoon.apache.org>
Sent: Monday, October 20, 2003 1:01 PM
Subject: Re: NCName:* or QName was expected


> 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" <iy...@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
>
>
>


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