[xsl] XSLT on Wikipedia

Subject: [xsl] XSLT on Wikipedia
From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx>
Date: Fri, 29 Feb 2008 11:34:36 +0000
I just stumbled upon the wikipedia page for XSLT:


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"
<xsl:output method="html"/>

<xsl:template match="/persons">
        <html xmlns="http://www.w3.org/1999/xhtml";>
        <head> <title>Testing XML Example</title> </head>
                <xsl:apply-templates select="person">
                        <xsl:sort select="family-name" />

<xsl:template match="person">
                <xsl:value-of select="family-name"/>,
                <xsl:value-of select="name"/>


a bit harder to spot that one....

Is anyone on the list an editor?

Andrew Welch
Kernow: http://kernowforsaxon.sf.net/

Current Thread