xsl-list
[Top] [All Lists]

re: how to get string value of element node without children concatenated

2003-03-14 14:58:19
change:
<xsl:template match="finishes">
  <xsl:for-each select="finish">
    <th colspan="{count(descendant::hold)}">
      <xsl:value-of select="." />
    </th>
  </xsl:for-each>
</xsl:template>


to:
<xsl:template match="finishes">
 <xsl:for-each select="finish">
  <th colspan="{count(descendant::hold)}">
   <xsl:value-of select="text()" />
  </th>
 </xsl:for-each>
</xsl:template>

Best,
Janet Piez 


DISCLAIMER:
The information contained in this e-mail may be confidential and is intended 
solely for the use of the named addressee. Access, copying or re-use of the 
e-mail or any information contained therein by any other person is not 
authorized. If you are not the intended recipient please notify us immediately 
by returning the e-mail to the originator.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list