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

Re: Wikipedia on XSLT

Subject: Re: Wikipedia on XSLT
From: "Stuart A. Yeates" <syeates@xxxxxxxxx>
Date: Fri, 7 Aug 2009 22:40:43 +1200
Re:  Wikipedia on XSLT
A couple of points

(a) decide whether we're calling it XSL or XSLT, vis:

http://en.wikipedia.org/wiki/XSL_Transformations
http://en.wikipedia.org/wiki/XSLT_elements

Yes I know these may be technically correct, but clarity and easy of
understanding are are paramount here.

(b) http://en.wikipedia.org/wiki/XSLT_elements is entirely
example-driven and contains no actual real text. Maybe add textual
discussion of the role of elements in XSLT (vs xpath, attributes, etc)

(c) These articles need the attention of an outsider (i.e. non-techie
proof reader) to spot spot the jargon and verbosity

cheers
stuart


On Fri, Aug 7, 2009 at 10:17 PM, Andrew Welch<andrew.j.welch@xxxxxxxxx>
wrote:
> There's a push on xml-dev at the moment to sort out the XML page on
> Wikipedia which is going well apparently, so maybe we should have a
> look at the XSLT page :)
>
> There doesn't appear to be much in the way of XSLT 2.0 on there -
> should that have its own page? B And Saxon doesn't get mentioned apart
> from in the title of an article and in the link to Kernow... B which
> can't be right!
>
> Also the top "See Also" link points to an "XSLT elements" page:
>
> http://en.wikipedia.org/wiki/XSLT_elements
>
> which is pretty poor in general, but contains this example:
>
> <xsl:stylesheet>
> <xsl:template match="//input">
> <xsl:variable name="type" select="@type"/>
> <xsl:variable name="name" select="@name"/>
> <xsl:if test="$type='text' or $type='password' or $type='radio' or
> $type='checkbox'">
> B  B  B  B <xsl:choose>
> B  B  B  B  B  B  B  B <xsl:when test="$type='radio'">
> B  B  B  B  B  B  B  B  B  B <xsl:if
test="not(preceding-sibling::input[@type='radio'])">
> B  B  B  B  B  B  B  B  B  B  B  B <select name="{@name}">
> B  B  B  B  B  B  B  B  B  B  B  B <xsl:for-each
select="../input[@name=$name]">
> B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B <option value="{@value}">
> B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
B <xsl:apply-templates/>
> B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B </option>
> B  B  B  B  B  B  B  B  B  B  B  B </xsl:for-each>
> B  B  B  B  B  B  B  B  B  B  B  B </select>
> B  B  B  B  B  B  B  B  B  B </xsl:if>
>
> ...and that's loaded with faults.
>
> If nothing else I think we should remove that link, and ensure XSLT
> 2.0 gets mentioned right at the top, with an obvious link to Saxon
> (and other 2.0 processors)... and then add examples for the most
> common use cases - copying all but 1 element, grouping etc B (and the
> many others that I cant think of now)
>
> Anyone available/interested to do this?
>
>
>
>
> --
> 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-2013 All Rights Reserved.