This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Using XHTML generated with W3C tidy.
- To: <xsl-list at mulberrytech dot com>
- Subject: RE: Using XHTML generated with W3C tidy.
- From: "Chris Bayes" <Chris at Bayes dot co dot uk>
- Date: Fri, 8 Sep 2000 18:28:45 +0100
- Reply-To: xsl-list at mulberrytech dot com
>> ><xsl:template match="//table">
>> Not so: match="table" matches at any depth. It just matches. Unless
>> something else matches with a higher priority. In fact,
>> "//table" could well be adding extra overhead
>>
>I think it's rather unlikely that any XSLT processor would treat
>"table" and
>"//table" differently.
>
>Except of course for the minor curiosity that they have different
>priorities!
OK but
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="table">
<xsl:value-of select="name()"/>
</xsl:template>
</xsl:stylesheet>
will not produce anything.
Ciao Chris
XML/XSL Portal
http://www.bayes.co.uk/xml
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list