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

Re: XSLT Hello World - outreach

Subject: Re: XSLT Hello World - outreach
From: Richard Fozzard - NOAA Affiliate <richard.fozzard@xxxxxxxx>
Date: Fri, 28 Mar 2014 10:31:20 -0600
Re:  XSLT Hello World - outreach
Graydon said the following on 03/27/2014 12:18 PM:
> I've never got anybody to believe XSLT was easy; I have got people to
> believe it was powerful, and I suspect the best way to evangelize for
> XSLT is along that axis. "Here are things we can do reliably that are
> much harder any other way".
Remarkably, I *have* gotten people to believe XSLT is easy -- and those have almost always been people who are not traditional programmers!

Of course, these folks aren't doing complex transformations. But they are people, who for one reason or another, have been given XML to deal with, and just want to produce a nice HTML page or convert to a different XML format. I've shown these folks just three elements, wrapped in a single <xsl:template match="/">:

1. xsl:value-of
2. xsl:choose
3. xsl:for-each

and only enough XPath to understand something like "//book[@author='Bob']".

This is not "Hello World" -- which I have always considered a useless exercise for anything other than testing a compile/build environment. But it is what I call an 80-20 solution: 80% of what you want, for 20% of the effort.

The people I've shown this to have done a lot of great things with just these three elements, and some have gone on to learn a lot more of XSLT. Funny that the non-programmers have been easier to convert than the hot-shot hackers. ;-)

--Rich

-- 

Richard Fozzard, Computer Scientist
  Geospatial Metadata at NGDC: http://www.ngdc.noaa.gov/metadata

Cooperative Institute for Research in Environmental Sciences (CIRES)
Univ. Colorado & NOAA National Geophysical Data Center, Enterprise Data Systems 
325 S. Broadway, Skaggs 1B-305, Boulder, CO 80305
Office: 303-497-6487, Cell: 303-579-5615, Email: richard.fozzard@xxxxxxxx

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.