|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: xmlns:xi attributes getting into HTML output
On Wed, Oct 26, 2022 at 10:56 AM Michael Kay mike@xxxxxxxxxxxx <
xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
> Firstly, I suspect that that "..." is hiding an identity template that
> uses xsl:copy. The xsl:copy instruction copies namespace nodes from the
> source document to the result document. In 2.0+ you can suppress that with
> a copy-namespaces="no" attribute.
>
Of course I just discovered that I was looking at the wrong XSL file and I
was using xsl:copy-of:
<xsl:template match="header">
<header>
<xsl:copy-of select="*"/>
</header>
</xsl:template>
Changing from copy-to to <xsl:apply-templates select="@*|node()"/> seems to
have fixed the problem.
Thanks,
Mike
--
Michael B Allen
Java Active Directory Integration
http://www.ioplex.com/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








