[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: Pattern question: first child of first descendant
From: Syd Bauman <Syd_Bauman@xxxxxxxxx>
Date: Mon, 23 Mar 2009 21:18:48 -0400
> I am looking for a pattern that does "match the first title or para
> child of the first entry descendant of a table element". I'm using
> XSLT2.

There may well be something better, but I would probably have used:
  table//entry[1]/*[self::title or self::para][1]

HTH

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member