cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: XPath problems in Cocoon?
Date Mon, 24 Feb 2003 21:04:38 GMT
J.Pietschmann wrote:
 > Actually, your expression is ugly. What's wrong with
 >  select="a[following-sibling::*[1][self::a]]"
 > This means "select a elements where the following element
 > (disregarding any text node) is also an a element."


She mentioned, that no non-whitespace-character text must between the 
both <a/>s. And so it seems, that the expression must be ugly. But of 
course using self::a instead of name()='a' is simpler and more reliable 
according namespace issues.

Joerg


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message