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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: Using XHTML generated with W3C, Kay Michael | Thread | Re: Using XHTML generated with W3C, David Carlisle |
RE: How to output a subset of prece, Kay Michael | Date | RE: 1 xml to 2 html, Kay Michael |
Month |