|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








