xsl-list
[Top] [All Lists]

Re: [xsl] returning nodes which have a specific child

2009-07-03 09:23:31
On Fri, Jul 3, 2009 at 6:36 PM, Michael 
Sokolov<sokolov(_at_)ifactory(_dot_)com> wrote:
including the
bizarre conceit that attribute *nodes* are not matched by the 'node()' test
(perhaps some other name would have been more appropriate?).

I am not aware of the discussions, that went amongst the WG members,
when XSLT 1.0/XPath 1.0 was designed.

But I think,
Calling attributes as "nodes" is ok. As attributes are modeled similar
to other kinds of nodes. They have name, value, parent etc.

Attributes can be referred as @* while other kinds of nodes with
node() and so on.

I find this design ok :)


-- 
Regards,
Mukul Gandhi

--~------------------------------------------------------------------
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>
--~--