Re: Error in SVG 1.1 CR 6.6?

In a message dated 25/10/2002 13:05:17 GMT Daylight Time, dean@w3.org writes:


> On Fri, 25 Oct 2002, AndrewWatt2001@aol.com wrote:
> 
> > 
> > The XSLT stylesheet shown in 6.6 does not produce the output shown, at 
> least 
> > it doesn't using Instant Saxon 6.5.2.
> 
> Correct. Here is (one example of) a fixed version. Tested with xsltproc.
> 

Dean,

Yes that works on InstantSaxon too.

Did you realise that you can delete all the following code:

<!-- default is to copy input element -->
<xsl:template match="*|@*|text()">
  <xsl:copy>
    <xsl:apply-templates select="*|@*|text()"/>
  </xsl:copy>
</xsl:template>

and it will still work?

The default XSLT templates need not be expressed in code.

Andrew Watt

Received on Friday, 25 October 2002 08:19:31 UTC