Would be nice if we could capture internal warnings (and errors). In particular output generated by `<xsl:message>a warning message</xsl:message>`.