[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] The identity transform and attributes


Subject: RE: [xsl] The identity transform and attributes
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Mon, 21 Jan 2008 12:44:06 -0000

> Again, I don't know why the self axis isn't available for 
> attribute nodes... any ideas?

The self axis is available for attribute nodes. But the principal node kind
of the self axis is "element", so self:xxx means self::element(xxx) and
self::* means self::element(*). In 2.0 you can write

self::attribute(xxx)

Michael Kay
http://www.saxonica.com/


Current Thread