Re: testing parent node with xsl:choose2003-01-21 17:09:20Hi Raven, If your sample file below is correct, <spool><identification> <ul> <li>This Text</li></ul></identification> </spool>
all you need to do is replace the expression
<xsl:when test="parent::spool">
with
<xsl:when test="ancestor::spool">
since spool is in fact the great-great-grandparent of li in your first
sample, so it is an ancestor not the parent.
Francis. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
|
||||||||||||||||