This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: namespaces and copying trees
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] namespaces and copying trees
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Wed, 8 Aug 2001 18:28:29 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> But what if I want to allow metadata to appear at arbitrary places in
> the XHTML document? I think there must be a more elegant way to say
> "Take everything from this namespace, forget everything from all other
> namespaces."
<xsl:template match="*" priority="1">
<xsl:copy>
<xsl:copy-of select="@*"/>
<xsl:apply-templates/>
</xsl:copy>
<xsl:template>
<xsl:template match="foo:*" priority="2"/>
Mike Kay
Software AG
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list