[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XSLT on Wikipedia

Subject: Re: XSLT on Wikipedia
From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
Date: Fri, 29 Feb 2008 06:11:23 -0800
Re:  XSLT on Wikipedia
I take the Wikipedia as something similar to Asimov's "Encyclopedia
Galactica". It provides generally useful information on a topic for a
novice, not usually going too deep into; to dive into the depths of
the matter one has to follow the links.

To me,  the Wikipedia would be even more useful if it was just an
annotated collection of links. The best info on XSLT is that the good
books (such as Dr. Kay's) are the source.



-- 
Cheers,
Dimitre Novatchev
---------------------------------------
Truly great madness cannot be achieved without significant intelligence.
---------------------------------------
To invent, you need a good imagination and a pile of junk
-------------------------------------
Never fight an inanimate object
-------------------------------------
You've achieved success in your field when you don't know whether what
you're doing is work or play



On Fri, Feb 29, 2008 at 3:34 AM, Andrew Welch <andrew.j.welch@xxxxxxxxx> 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/

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2011 All Rights Reserved.