This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Using XHTML generated with W3C tidy.



>> ><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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]