<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (c) 2010 DeltaXML Ltd.  All rights reserved. -->
<!-- This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU Lesser General Public License version 3 only,
    as published by the Free Software Foundation.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Lesser General Public License version 3 for more details
    (a copy is included in the LICENSE-LGPL.txt file that accompanied this code).

    You should have received a copy of the GNU Lesser General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/> -->
<!-- $Id: svrl_error_reporter.xsl 6565 2010-07-01 14:36:08Z nigelw $ -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"
  xmlns:svrl="http://purl.oclc.org/dsdl/svrl">

  <xsl:output method="xml" omit-xml-declaration="yes"/>
  <xsl:template match="@* | node()">
    <xsl:apply-templates select="@*, node()"/>
  </xsl:template>
  
  <xsl:template match="svrl:failed-assert|svrl:successful-report">
    <xsl:message terminate="yes">
      test: <xsl:value-of select="@test"/>, location: <xsl:value-of select="@location"/>, text: <xsl:value-of select="svrl:text"/>
    </xsl:message>
  </xsl:template>
</xsl:stylesheet>
