Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I have to agree here. XSLT failed when they added <xsl:if>. Get your flow control out of my document format. That's what code is for. Adding <xsl:if> makes it code, horrible, horrible code.


> XSLT failed when they added <xsl:if>. Get your flow control out of my document format. That's what code is for.

XSLT isn't a document format, its by design a domain-specific programming language designed for use in transforming XML documents to other formats.

> Adding <xsl:if> makes it code, horrible, horrible code.

Its supposed to be code. Now, if you want to argue that its horrible code, that's another issue, but complaining that XSLT is code when that's the whole point of XSLT is, well, missing the point.


Oh, I don't know, it's kinda handy when you need it. How often have you wished for that in CSS?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: