Subject: Re: [xsl] xmlns:xi attributes getting into HTML output From: "Michael B Allen ioplex@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Wed, 26 Oct 2022 15:03:56 -0000 |
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/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] xmlns:xi attributes getti, Michael Kay mike@xxx | Thread | [xsl] Filtering, xslt 2.0, Dave Pawson dave.paw |
Re: [xsl] xmlns:xi attributes getti, Michael Kay mike@xxx | Date | [xsl] Filtering, xslt 2.0, Dave Pawson dave.paw |
Month |