XSLT

Jo Rabin‘s “Mobile is not The Future (It’s Now)” presentation in the Trends and Transients portion of this year’s XML Summer School (and the reading he suggested, such as this Tomi Ahonen blog post) got me thinking much harder about mobile delivery. One of my first ideas was how easy the jQuery Mobile Javascript library could make it to deliver SPARQL query results, and in less than 30 minutes I wrote an XSLT stylesheet that can take the SPARQL Query Results XML Format…

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?

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 semantic-web@w3.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…