xsl:message to debug page?
This is an open discussion with 1 reply, filed under XSLT.
Search
So I'm thinking of hacking this into S2. Could anyone point me to the php libxslt error handling in Symphony?
Thanks Andy
Create an account or sign in to comment.
So I just discovered the xsl:message element, which is awesome for throwing errors wherever you want, that output as Symphony XSLT errors along with the contents of the element. I'm wondering, would there be any way to differentiate these from other errors (I understand PHP outputs them as Warning level errors) so we could use them in other ways (like maybe in the ?debug page somewhere). The XSLT standard has a 'terminate' attribute that defaults to 'no' (meaning the processor should continue) but looks like PHP's implementation is the opposite. Thoughts?