The xsl:copy-of element cannot have any content according to section
11.3 of the XSLT spec.  If the Oracle XSLTProcessor does not complain,
it is in error, I believe.

Gary

Anamitra Bhattacharyya wrote:
> 
> Hi
> When I try to run the org.apache.xalan.xslt.Process class from the command
> to process an xsl transform the processor cribs saying
> 
> file:///C:/xalan/englishsuauction.xsl; Line 18; Column 37;
> XSLT Error (javax.xml.transform.TransformerConfigurationException):
> xsl:apply-te
> mplates is not allowed in this position in the stylesheet!
> 
> Now at that particular line I have this element
> 
>       <xsl:copy-of select="@*">
>          <xsl:apply-templates select="@*"/>
>       </xsl:copy-of>
> 
> The Oracle XSLTProcessor processes this perfectly. Is it a bug with the
> Xalan processor or I am not conforming to standards?
> pls let me know - I am attaching the xsl file for ref.
> thanks
> Anamitra

Reply via email to