marrocdanderfluff(_at_)yahoo(_dot_)co(_dot_)in wrote:
<xsl:variable name="mappings"
select="document('map.map')/mappings/relationship" />
[...]
<xsl:value-of select="$mappings/relationship[(_at_)topic=@href]/@toc">
$mappings is a sequence of relationship elements (rather than a
sequence of nodes that contain relationship childs.) So I guess you
want instead:
$mappings[(_at_)topic eq @href]/@toc
BTW, do you really want the elements whose @topic and @href are
equal? Maybe you want instead "@topic eq current()/@href" or
"current()/@topic eq @href" (but I didn't follow the post in details.)
Regards,
--drkm
_____________________________________________________________________________
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
http://mail.yahoo.fr
--~------------------------------------------------------------------
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>
--~--