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

Subject: Re: Pattern question: first child of first descendant
From: "Christian Roth" <roth@xxxxxxxxxxxxxx>
Date: Tue, 24 Mar 2009 02:41:39 +0100
>I'm not sure of the exact order of
>operations for the position predicate here, so I'd be safe and do this:
>
>(table//entry)[1]/*[self::title or self::para][1]

Using this pattern gives me a

  Unexpected token in pattern, found "("

error in Saxon. (I had tried that one, too...)

-Christian

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