RE: absolute/relative ref and model-ref 'inheritance'

On Tue, 27 Aug 2002, Tomayko, Ryan wrote:
>
> Yes, nice catch.
>
> > "ancestor-or-self::xforms:*/@model"
>
> Is that legal XPath? For some reason I'm thinking that may not be valid
> (even though it makes perfect sense). If not, you could also use:

It's legal. See 2.3 in the XPath spec ("A node test can have the form
NCName:* ...") or the examples for AbsoluteLocationPath in Michael Kay's
XSLT (2nd ed). And I've now used it in my XSL and it works!

Thanks,
-Kurt.
__________
kurt george gjerde <kurt.gjerde@intermedia.uib.no>
intermedia uib, university of bergen

Received on Tuesday, 27 August 2002 09:23:46 UTC