Tuesday 3 March 2009

Element's value-of.

Fool! Next time, remember not to put an xsl:value-of in a template that matches an element, or you end up with the concatenated text of all the element's sub-nodes in your output document. (Unless that's what you want, of course...)