How do I process an xml string through a xslt file and capture the errors? All of the xslt transforming functions just throw a fatal error when the xml has an error in it. The api states that they should return true or false on success or failure, and any errors will be available with xslt_error, but the functions aren't performing like that.
I wanted to try xslt_run, because it looks like it may perform differently than the other parsing functions, but it only takes files as arguments. I want to pass a string with my xml. I know I could write it to a temp file, but that's a really rediculous solution.