Back in the 2000s, I wrote some XSLT to transform RPG character sheet from a semantic format to HTML.Basically, stuff like:20to a rendered character sheet.It was pretty neat because I had a clean separation of my data which I wanted represented one way into another data format, but xslt on the browser is a whole other matter. xslt on the browser is virtually unused, libxslt is not well maintained and being on the browser means it's subject to all kinds of inputs, including potentially malicious ones.Google isn't wrong to remove xslt support from Chrome.Today if I wanted to the same, even if I wanted to represent my data as XML (which I probably wouldn't), I'd just use a simpler HTML template language and then have a simpler parser in between.It would be more lines of code, but easier to understand.#xml #xslt #programming
no comments (yet)