bryan rasmussen wrote:
wasn't the point of Wikipedia that anyone could edit?
Actually, some topics can only be edited by people who login. This
happens to pages that are likely to be trashed (for example, the entry
for George Walker Bush).
Wikipedia is often prone to trashing.
BTW, if anyone is interested, someone might want to contribute an XSL
entry to this:
http://en.citizendium.org/wiki/CZ:Why_Citizendium%3F
On Fri, Feb 29, 2008 at 12:34 PM, Andrew Welch
<andrew(_dot_)j(_dot_)welch(_at_)gmail(_dot_)com> wrote:
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/
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--