Jon Gorman wrote:
Ah, typing too quickly and I missed that we were using clsName for
comparison, not as a target variable to fill. I don't have much time,
so I"ll only give it one more shot before concluding that I'll have to
wait till I have time to look at it closer.
<xsl:choose>
<xsl:when
test="document(Second.xml)/SubConcepts/SubConcept[1]/Value[$clsName=text()]">
<xsl:variable name="nodeToProcess"
select="document(Second.xml)/SubConcepts/SubConcept[1]/Value[$clsName=text()]"/>
</xsl:when>
<xsl:otherwise>
<xsl:variable name="Values"
select="document(Second.xml)/SubConcepts/SubConcept/Value/@name[.=$clsName]"/>
<xsl:variable name="nodeToProcess" select="$Values[1]">
</xsl:otherwise>
</xsl:when>
Thanks Jon and Aron. Using your approach I seem to atleast be
progressing. My problem might eventually be resolved !
Cheers
Rahil
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--