RE: [xsl] XSLT on Wikipedia

Subject: RE: [xsl] XSLT on Wikipedia
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 29 Feb 2008 11:42:48 -0000
I keep an eye on the page but I haven't tried to meddle too much. The
standard could and should be a lot better.

Michael Kay
http://www.saxonica.com/ 

> -----Original Message-----
> From: Andrew Welch [mailto:andrew.j.welch@xxxxxxxxx] 
> Sent: 29 February 2008 11:35
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] XSLT on Wikipedia
> 
> I just stumbled upon the wikipedia page for XSLT:
> 
> http://en.wikipedia.org/wiki/XSL_Transformations
> 
> In the examples there are a couple of mistakes - in example 1 
> there is:
> 
> <xsl:template match="//person">
> 
> and in example 2 there is:
> 
> <xsl:stylesheet version="1.0"
>                 xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
> <xsl:output method="html"/>
> 
> <xsl:template match="/persons">
>         <html xmlns="http://www.w3.org/1999/xhtml";>
>         <head> <title>Testing XML Example</title> </head>
>         <body>
>                 <h1>Persons</h1>
>                 <ul>
>                 <xsl:apply-templates select="person">
>                         <xsl:sort select="family-name" />
>                 </xsl:apply-templates>
>                 </ul>
>         </body>
>         </html>
> </xsl:template>
> 
> <xsl:template match="person">
>         <li>
>                 <xsl:value-of select="family-name"/>,
>                 <xsl:value-of select="name"/>
>         </li>
> </xsl:template>
> 
> </xsl:stylesheet>
> 
> a bit harder to spot that one....
> 
> Is anyone on the list an editor?
> 
> 
> --
> Andrew Welch
> http://andrewjwelch.com
> Kernow: http://kernowforsaxon.sf.net/

Current Thread