Re: [xsl] How to navigate in an expression (sort of)

Subject: Re: [xsl] How to navigate in an expression (sort of)
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 8 Feb 2001 18:47:59 GMT
Oh sorry for previous reply this is a key question.

(Which probably means I should leave it to Jeni to answer, but

given an id string you eant to get to element nodes that have
that string as the value of 

Incidentally the above only looks horrible as you've gone in for this
computer science notion of understandable names, if you'd have caled it
then it would have looked a lot more compact:-)

Anyway back to keys...

You want something like

<xsl:key name="x"

now in your template for Foundation.Core.Class you can go
<xsl:apply-templates select="key("/>

and you will apply templates to all (one) Foundation.Core.AssociationEnd
elements that have the stated property of having a key value of S.1.
(I hope)


 XSL-List info and archive:

Current Thread