Flutterby™! : XSLT

Next unread comment / Catchup all unread comments User Account Info | Logout | XML/Pilot/etc versions | Long version (with comments) | Weblog archives | Site Map | | Browse Topics

XSLT

2004-05-07 22:37:38.078684+00 by Dan Lyke 5 comments

I finally learned enough XSLT[Wiki] to use it for a project at work. I'm impressed. It's a slightly different approach than I took when I developed the Flutterby code base templating system, and I don't remember now why I didn't use it (maybe it wasn't there yet...), but it did what I needed it to relatively painlessly and I'll consider using it for future projects. Best yet, it let me develop the transforms in my favorite environment and move 'em to .NET on Windows once I had things running nicely.

[ related topics: Microsoft Coyote Grits Nature and environment Work, productivity and environment Sports ]

comments in ascending chronological order (reverse):

#Comment Re: made: 2004-05-08 00:50:30.426914+00 by: John Anderson

Any pointers to recommended intros or references? XSLT has been on my list of "oughta look at" stuff for a while...

#Comment Re: made: 2004-05-09 04:13:45.249907+00 by: Dan Lyke

Not really. I started with a few online tutorials, then ended up at the official spec. I looked at assorted books in the bookstore and once again had my "it's quite simple, why isn't there one of those small O'Reilly books rather than these huge overly verbose things?" moments.

So, alas, nothing to suggest.

#Comment Re: made: 2004-05-09 20:21:08.028433+00 by: Shawn [edit history]

XSLT is very cool, once one learns how to properly use it. I picked it up through an assignment at school (where I transformed the Flutterby RSS feed), so I don't have any tutorials or references to point to either. But you're welcome to look at my [.NET/C#] source code.

#Comment Re: made: 2004-05-09 20:38:43.54562+00 by: Shawn [edit history]

Oh, yeah. After learning to do XSL transforms in .NET, I experimented a bit to see if it was just as easy to do in Java/JSP (it's even easier). This one's a lot more simplistic, but here's the source (you'll need to modify the file paths), and the output.

#Comment XSLT Books made: 2004-05-11 03:48:34.858225+00 by: whump

There's Bob DuCharme's XSLT Quickly, which isn't intended to be exhaustive, but will get you started.

I also recommend Dave Paulson's XSLT FAQ: http://www.dpawson.co.uk/xsl/xslfaq.html