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

RE: [xsl] implements-prefix vs implements-namespace


Subject: RE: [xsl] implements-prefix vs implements-namespace
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Tue, 6 Mar 2001 15:43:01 -0000

> Namespace declarations for a particular element cannot
> be introduced from other documents in any way.

Yes they can; an XSLT 1.0 erratum makes it clear that you can copy a
namespace node, so you can do

<out>
  <xsl:copy-of select="document('namespaces.xml')//namespace::*"/>
</out>

Mike Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords