I have a structure where I need to match values between w element
attributes. These elements are in different parst of the document. Problem
I'm trying to solve is when there is a typo in one of the attributes and
there is no match. I thought this would do it, but it's not
<xsl:when
test="ancestor::ipb/figure/subfig/graphic[(_at_)boardno=$sht_num]/@boardno">
same with this
<xsl:when
test="ancestor::ipb/figure/subfig/graphic[(_at_)boardno=$sht_num]/@boardno =
''">
Any suggestions?
Here is the doc structure:
<ipb>
<figure>
<subfig>
<graphic boardno='a'/>
</subfig>
</figure>
<table>
<row>
<entry><ipbilus><xref shtref='b'/></ipbilus>
</entry>
</row>
</table>
</ipb>
$sht_num is set to xref/@shtref so b never finds a on graphic
..dan
---------------------------------------------------------------------------
Danny Vint
Specializing in Panoramic Images of California and the West
http://www.dvint.com
Voice:510:522-4703
FAX: 801-749-3229
--~------------------------------------------------------------------
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>
--~--