source = Nokogiri::XML(File.read monograph_filename)
xsl = Nokogiri::XSLT(File.read 'ipm.xsl' )
transformed = xsl.transform(source)
The last line throws a runtime error because the xls file contains a message
<xsl:otherwise>
<xsl:message>Warning: Class not handled: <xsl:value-of select="$vDiv"/></xsl:message>
</xsl:otherwise>
So we get the error
RuntimeError: Warning: Class not handled: date lrvdt
Is there a way for me to suppress the warning so I don't get a runtime error?