Subject: Re: [xsl] backtracking to find all parents till root[again] From: Rahil <qamar_rahil@xxxxxxxxxxx> Date: Tue, 24 May 2005 16:19:25 +0100 |
Rahil,<snip/>
It's still not a watertight problem statement, but the following will produce what you want, and I imagine you can press it into better service if need be.
Oh I think I understood where the confusion is. Its not that Im trying to find the sibling of a <SubConcept>. Rather Im trying to trace the origins of a particular value found somewhere in the file. I do this in an alternating mode
<xsl:apply-templates select="preceding-sibling::SubConcept[contains(Value, current()/@name)][1]"/>
</xsl:template>
</xsl:stylesheet>
Thanks for helping out Rahil
Current Thread |
---|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] backtracking to find all , Aron Bock | Thread | Re: [xsl] backtracking to find all , Aron Bock |
RE: [xsl] help on attribute name, Wendell Piez | Date | RE: [xsl] XML / XSLT Transformation, Aron Bock |
Month |