Converting wpl playlists to m3u playlists
Simple XML in, simple text out, but no good search results for wpl2m3u? Write a little XSLT.
I’ve switched around between music-playing programs over the last few years. I suppose I should call them “media players”, but I only use them to play music, which is part of the reason I ended up using Songbird, an open source Windows/Linux/Mac music front end that doesn’t pretend to be anything else. It looks a bit like iTunes, without all the ads in your face; how great is that?
Advanced XSLT (and XQuery, and XSL-FO)
A good place to learn.
Using XSLT to deliver XML on browsers
An update on Firefox (with some help from the world of model railroading) and Chrome.
Delivery of XML on web browsers isn’t as popular as XML’s inventors originally hoped, but it’s still useful. It’s easy to add a standardized processing instruction to your XML that points at an XSLT stylesheet that converts your XML to HTML, and then when you open the XML file in your browser, you see the result. When you need a rendered version of some XML to review, this can make it happen pretty quickly. (The W3C Recommendation Associating Style Sheets with XML…
Converting an XML document's encoding
With a very brief XSLT stylesheet.
A colleague recently asked about converting a collection of XML documents to the US-ASCII encoding (that is, to documents where everything is either a US ASCII character or a numeric character reference such as é for the é character). I have several utility stylesheets for converting the encoding of XML documents, and a slight change to one of them gave me a new version that would create a US-ASCII version of any XML document:
Good XSLT advice
From two of the leading experts.
Usually, when a tech friend starts a weblog, I try to say “hey, check it out” here, but I was a little behind on my news when I found out about Jeni Tennison’s blog, and plenty of other people pointed to it, and it was already included in the Planet XML feed, so I thought that everyone who should know about it already would. But she just keeps delivering solid, useful, XSLT advice, so a few weeks late, I’ll say it: if you write many XSLT stylesheets, you owe it to…
The W3C's web-based interface to Saxon 8.5
Running XSLT 2 stylesheets with a URL.
The W3C has made a web-based version of James Clark’s XT XSLT processor available since June of 2000, and Dan Brickley recently announced to the firstname.lastname@example.org mailing list that the W3C replaced the processor behind this service with Michael Kay’s Saxon. You can use it by filling out this form with URLs for your source document and stylesheet. When you click “transform”, in addition to running your stylesheet on your source document, you’ll see the URL that you…
A nice XSLT documentation tool
Taking "self-documentation" to a new level.
I just learned from Uche and Chimezie’s del.icio.us bookmarks page about a very nice tool on the Web Kanzaki for generating XSLT stylesheet documentation. When you go to the tool’s web page, you’re looking at the output of the tool run on itself. It looks great, due to two simple tricks, the first being quite clever: