Re: [xsl] xsl:copy-to is not allowed in this position in the stylesheet!

Subject: Re: [xsl] xsl:copy-to is not allowed in this position in the stylesheet!
From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx>
Date: Tue, 12 Jun 2007 15:08:21 +0100
On 6/12/07, Nick Leone <nick@xxxxxxxxxxxxxxx> wrote:
Hi;

I'm getting "xsl:copy-to is not allowed in this position in the
stylesheet!" on this line of code:

Text: <textarea name="XmlMessage" rows="10" cols="60"><xsl:copy-to
select="*" /> </textarea>

I'm not sure why.  I'm trying to put the entire contents of the XML
file into a textarea on an HTML page including all the tags.  I am
using IBM Rational Application Developer to write the code.

It's <xsl:copy-of select=" ... "/>


The error msg makes me wonder where copy-to is allowed :)

Current Thread