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

Re: [xsl] XPath shorthand

Subject: Re: [xsl] XPath shorthand
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Tue, 21 Aug 2012 10:42:02 -0700

Assuming you are using XPath 2.0:

    following-sibling::*[matches(name(), '^[A-Z]$')]


On Tue, Aug 21, 2012 at 6:19 AM, Ihe Onwuka <ihe.onwuka@xxxxxxxxxxxxxx> wrote:
> what is shorthand for "folllowing-sibling::A | following-sibling::B
> .........following-sibling::Z"
> Anything better than  "following-sibling::*[self::A||self::B...|self::C]  ?

Dimitre Novatchev
Truly great madness cannot be achieved without significant intelligence.
To invent, you need a good imagination and a pile of junk
Never fight an inanimate object
To avoid situations in which you might make mistakes may be the
biggest mistake of all
Quality means doing it right when no one is looking.
You've achieved success in your field when you don't know whether what
you're doing is work or play
Facts do not cease to exist because they are ignored.
I finally figured out the only reason to be alive is to enjoy it.

Current Thread