Archive for the 'XSL' Category

ClassCastException when using an XSL variable

Tuesday, May 24th, 2005

XSL can be so frustrating.

So today, I wanted to be able to do something like this:

<xsl:variable name=”foo”>
<xsl:choose>
<xsl:when test=”bar”>
<xsl:copy-of select=”bar”/>
</xsl:when>
<xsl:otherwise>
[…]

A handy XSLT tip

Tuesday, October 5th, 2004

XSLT gives me quite a headache. Learning any new language can be frustrating at first, but XSLT seems to be lacking in good documentation, which makes it orders of magnitude worse.

The other day, I was trying to pass some HTML in a parameter to an XSLT template. In my template, I was using […]