On Thu, Jul 05 2007 16:58:14 +0100, wapiez(_at_)mulberrytech(_dot_)com wrote:
At 07:11 PM 7/4/2007, was written:
...
Try just:
<xsl:copy-of select="@*[not(self::change)]"/>
I'm afraid this isn't going to work, on account of attribute elements
not appearing on the self:: axis. (A small but significant wrinkle.)
Or is it that an attribute node is on the self:: axis when it is the
context node but you can't select it using a name test?
Another small but significant wrinkle is that 'self::change' works in
xsltproc.
However, updating to use XSLT 2.0, this gets the blessing of Saxon:
'self::attribute(change)'.
Regards,
Tony.
======================================================================
Tony(_dot_)Graham(_at_)MenteithConsulting(_dot_)com
http://www.menteithconsulting.com
Menteith Consulting Ltd Registered in Ireland - No. 428599
Registered Office: 13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland
----------------------------------------------------------------------
Menteith Consulting -- Understanding how markup works
======================================================================
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--