RE: Using XHTML generated with W3C tidy.

Subject: RE: Using XHTML generated with W3C tidy.
From: "Chris Bayes" <Chris@xxxxxxxxxxx>
Date: Fri, 8 Sep 2000 18:28:45 +0100
>> ><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


Current Thread