Wednesday 11 January 2006
The Veillard bloke was right
, you know. So far, I have skeleton implementations of xsl:stylesheet and xsl:template, partial implementation of xsl:apply-template, and finished up xsl:choose, xsl:comment, xsl:copy, xsl:copy-of, xsl:for-each, xsl:if, xsl:processing-instruction, xsl:text, xsl:value-of and xsl:sort (except for lang and case-order with I've never seen or heard of being used).
You'll notice I haven't done any of the harder stuff yet, like xsl:param/xsl:with-param and xsl:variable, but I don't think that'll be a problem. Pushing stack-frames is hardly difficult, and I think that stuff should all just drop out. The tedious stuff is likely to be the extra XPath functions.