There's a small bug in the current xhtml.xsl, which I'll correct right away... but first a question: Is there any particular reason why there are error messages printed in the XHTML output (like "[error: paragraphed list template]") rather than aborting the processing? The latter is possible to do with <xsl:message terminate="yes">, although it's not that easy to create error messages that includes all the info one would want in them, like the exact position in the XML file... -- Thomas