[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Unwanted Prefixes in Output


Subject: Re: [xsl] Unwanted Prefixes in Output
From: Robert Koberg <rob@xxxxxxxxxx>
Date: Wed, 21 Sep 2005 07:35:39 -0400

Michael Kay wrote:
In XSLT 2.0 you could replace

<xsl:element name="atom:{local-name(.)}">

with

<xsl:copy copy-namespaces="no">

When you say "can it get any better", do you mean you want "better" output,
or you want a better way of producing the output you are now getting?


I believe he wants to process any atom document which could have any namespaces. But instead of having the namespace declared at the element level, he wants the namespaces declared on the root element.

I don't think it is possible without declaring the namespace in the XSL stylesheet root element, right?

Could a post identity transform accomplish it?

best,
-Rob


Current Thread
Keywords