Subject: RE: [xsl] Use of xsl:apply-templates exception with an element From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Sat, 26 Sep 2009 22:30:03 +0100 |
> I need to > copy only the attributes of the current node that are not > also in $new, in a namespace safe way, with XSLT 2 Looks like a case for node-name(). <xsl:copy-of select="@*[not(node-name(.) = $new/@*/node-name(.))]"/> Regards, Michael Kay http://www.saxonica.com/ http://twitter.com/michaelhkay
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Use of xsl:apply-template, Wendell Piez | Thread | RE: [xsl] Use of xsl:apply-template, Michael Kay |
RE: [xsl] stylesheet not work when , Michael Kay | Date | Re: [xsl] Use of xsl:apply-template, ac |
Month |