<?xml version='1.0'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="bug_report">
   <xsl:call-template name="PIX">
	<xsl:with-param name="pix" select="picture"/>
   </xsl:call-template>
   <xsl:call-template name="PIX">
	<xsl:with-param name="pix" select="picture2"/>
   </xsl:call-template>
</xsl:template>

<xsl:template name="PIX">
<xsl:param name="pix"/>
  <xsl:if test="$pix">
        <xsl:element name="img">
    <xsl:if test="$pix[@width]">
         <xsl:attribute name="width"><xsl:value-of select="$pix[@width]"/></xsl:attribute>
    </xsl:if>
         <xsl:attribute name="src">images/<xsl:value-of select="$pix"/></xsl:attribute>
        </xsl:element>
  </xsl:if>
</xsl:template>

</xsl:stylesheet>
<!-- Stylus Studio meta-information - (c)1998-2001 eXcelon Corp.
<metaInformation>
<scenarios ><scenario default="yes" name="Scenario1" userelativepaths="yes" url="bug_report.xml" htmlbaseurl="" processortype="internal" commandline="" additionalpath="" additionalclasspath="" postprocessortype="none" postprocesscommandline="" postprocessadditionalpath="" postprocessgeneratedext=""/></scenarios><MapperInfo  srcSchemaPath="" srcSchemaRoot="" srcSchemaPathIsRelative="yes" destSchemaPath="" destSchemaRoot="" destSchemaPathIsRelative="yes" />
</metaInformation>
-->
