This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: AW: matching nodes by their value
- To: xsl-list at mulberrytech dot com
- Subject: Re: AW: matching nodes by their value
- From: Oliver Becker <obecker at informatik dot hu-berlin dot de>
- Date: Thu, 17 Aug 2000 14:11:01 +0200 (MET DST)
- Reply-To: xsl-list at mulberrytech dot com
> IMHO this counldn't work because the value of the <a> node is empty.
> AAA and BBB are values of <font> tags.
Wrong!
So Jonas is right:
> > value of a node is "concatenation of all parsed character data between
> > element's start tag and end tag" (from XML Bible Chapter 14).
Check it out:
XML:
<td><a href="http://"><font>AAA</font></a></td>
XSLT:
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:p="foo">
<xsl:template match="td">
<xsl:value-of select="a" />
</xsl:template>
</xsl:stylesheet>
Cheers,
Oliver
/-------------------------------------------------------------------\
| ob|do Dipl.Inf. Oliver Becker |
| --+-- E-Mail: obecker@informatik.hu-berlin.de |
| op|qo WWW: http://www.informatik.hu-berlin.de/~obecker |
\-------------------------------------------------------------------/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list