xsl-list
[Top] [All Lists]

RE: [xsl] // expanding to descendant-or-self::node()

2008-09-18 04:38:42
I'm not aware of and can't think of any reason 
why "//" is defined the way it is other than so that //@* 
will work. Can you think of any?

It's possible that someone thought it would be a really good idea if //p[1]
meant "every paragraph that is the first child of its parent"; but I have no
evidence for this, and if they did, then with hindsight they were probably
wrong.

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


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

<Prev in Thread] Current Thread [Next in Thread>