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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to