Subject: RE: [xsl] namespaces and copying trees From: "Michael Kay" <mhkay@xxxxxxxxxxxx> Date: Wed, 8 Aug 2001 18:28:29 +0100 |
> 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] namespaces and copying tr, Jeni Tennison | Thread | Re: [xsl] namespaces and copying tr, Oliver Becker |
RE: [xsl] Preceding Ancestors, Michael Kay | Date | [xsl] difficulties with exclude-res, Amy Kaizerman |
Month |