Subject: RE: [xsl] Removing an XML Attribute From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Fri, 6 Jul 2007 09:33:17 +0100 |
> 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? Correct. > > Another small but significant wrinkle is that 'self::change' > works in xsltproc. I assume you mean that it selects the attribute, i.e. it's broken. > > However, updating to use XSLT 2.0, this gets the blessing of Saxon: > 'self::attribute(change)'. Yes, that one is worth remembering. Though I prefer (@* except @change). Michael Kay http://www.saxonica.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Removing an XML Attribute, Wendell Piez | Thread | [xsl] Testing implicit XHTML hierar, Jesper Tverskov |
[xsl] Spaces to %20, Kerry Kobashi | Date | Re: [xsl] Spaces to %20, Alexander Johannesen |
Month |