Subject: RE: [xsl] XSL and Namespaces From: "Michael Kay" <mhkay@xxxxxxxxxxxx> Date: Thu, 8 Mar 2001 16:02:53 -0000 |
> - This is the XSL file: > <xsl:stylesheet version='1.0' > xmlns:xsl='http://www.w3.org/1999/XSL/Transform'> > <xsl:template match="/Schema"> > <xsl:copy> > <xsl:attribute name="xmlns"> > <xsl:value-of select="@xmlns" /> > </xsl:attribute> It is an error to use <xsl:attribute> to create an attribute whose name begins with "xmlns". It looks as if you are trying to copy namespace nodes; but you don't need to do this, because <xsl:copy> on the element does it automatically. Mike Kay Software AG XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XSL and Namespaces, Jeni Tennison | Thread | RE: [xsl] XSL and Namespaces, Borca, Olivier |
RE: [xsl] [Ann] jd.xslt - a XSLT 1., Michael Kay | Date | RE: [xsl] using xsl:document with 1, Michael Kay |
Month |