In article <bm************@news1s.iddeo.es>,
Rosa Mª Gómez Flores <fi*******@auna.com> wrote:
I don't understand exactly what is the 'xmlns' attribute, nor why it have
problems with the xmlns attribute of the sylesheet,
You might want to find out more before blindly pressing ahead, but
this copies a document, placing all elements in the
http://www.whatever
namespace:
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:template match="*">
<xsl:element name="{local-name()}" namespace="http://www.whatever">
<xsl:apply-templates select="node()|@*"/>
</xsl:element>
</xsl:template>
<xsl:template match="@*|comment()|processing-instruction()|text()">
<xsl:copy/>
</xsl:template>
</xsl:stylesheet>
-- Richard
--
Spam filter: to mail me from a .com/.net site, put my surname in the headers.
FreeBSD rules!