Hacker News new | ask | show | jobs
by xsltuser2010 5888 days ago
Knowing XSLT for a while --

I wouldn't use it for a web framework, it just seems to be the wrong place. I use xslt for simple document transformation. Say you often have to deal with ridiculously complicated xml files and want to adapt them quickly and in batch to something, then using xslt is a nice way to go.

You should know functional programming to get anything more done than just throwing out some nodes, though. And the hard part about xslt ist actually xpath, which I still have problems with even after years to get the syntax right..

(I'm not a daily user, but it's my usual tool for that matter)

1 comments

I agree to avoid it with a web framework. It's just not worth the hassle in that sort of application. Where I still use it though is for reporting systems. Have your datasource output XML and then have an xsl for the web report and a xsl-fo for a printable PDF report.

At the time I wrote the reporting system it was to replace Crystal which I found to be much more of a pita and more expensive.