sparklemotion/nokogiri — pull request #731 by Fitzsimmons (2012-07-19 21:10:41+00:00)
Title: Detect xslt transform errors

There's a scenario where you can end up with undetectable errors while transforming a document with XSLT. According to https://mail.gnome.org/archives/xslt/2004-March/msg00014.html , it's actually expected that the higher-level ```xsltApplyStylesheet``` function will fail to detect transformation errors. The reply suggests using the lower-level function call, but I think since we want to pick up the details of the error when it happens, we can piggyback on the fact that if the error string is populated, then an error must have occurred.