HTML5 File API Demo: XSLT Processor, November 12, 2013

Recently, I received a review copy of Programming HTML5 Applications, written by Zachary Kessin, published by O'Reilly. This book was published about two years ago, so some of the information is already out-of-date. I learned a lot from the book, but a lot is missing. Soon, my review will be published by the Denver Visual Studio Users Group.

Lately, I decided to try out some of the new HTML5 features in my free time. I do a lot of work with data manipulation for my clients, so I thought that the file API would be a great place to start. I learned about an open-source JavaScript library called FileSaver.js which implements part of the file API that is currently absent from many web browsers. I have also been using the Saxon XSLT processor recently, of which an open-source implementation in JavaScript is available called Saxon-CE. I'm also a big fan of the Ace Text Editor. I decided to put together a demo that will use them all.

My demo is an HTML5 application that allows you to perform XSLT transformations on XML documents. It's just a proof-of-concept demo, so if you have a particular need for XSLT data processing, please get in touch and let me know.

I would like to point out that all the code in this demo is client-side. There is no data what-so-ever sent to the server to perform the transformations. Everything is done in HTML5 with JavaScript.

On to the demo!