<?xml version='1.0'?>
<xsl:stylesheet version="1.0" 
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"

>

<xsl:output method="xml" encoding="UTF-8" omit-xml-declaration="no" indent="yes" standalone="yes" />

<xsl:template match="/">
 <xsl:apply-templates/>
</xsl:template>

<xsl:template match="line">
 <xsl:copy-of select="."/>
 <xsl:apply-templates/>
</xsl:template>

<xsl:template match="rect">
 <xsl:element name="{name()}">
  <xsl:for-each select="@*">
   <xsl:choose>
    <xsl:when test="name() = 'width'">
     <xsl:attribute name="{name()}">
	  <xsl:value-of select="10"/>
	 </xsl:attribute>
	</xsl:when>
    <xsl:otherwise>
     <xsl:copy-of select="."/>
    </xsl:otherwise>
   </xsl:choose>
  </xsl:for-each>
 </xsl:element>
 <xsl:apply-templates/>
</xsl:template>

<xsl:template match="circle">
 <xsl:copy-of select="."/>
 <xsl:apply-templates/>
</xsl:template>

<xsl:template match="ellipse">
 <xsl:copy-of select="."/>
 <xsl:apply-templates/>
</xsl:template>

<xsl:template match="polygon">
 <xsl:copy-of select="."/>
 <xsl:apply-templates/>
</xsl:template>

<xsl:template match="polyline">
 <xsl:copy-of select="."/>
 <xsl:apply-templates/>
</xsl:template>


<xsl:template match="*|@*|text()|comment()">
   <xsl:copy>
    <xsl:apply-templates select="*|@*|text()|comment()"/>
   </xsl:copy>
</xsl:template>

</xsl:stylesheet><!-- Stylus Studio meta-information - (c) 2004-2005. Progress Software Corporation. All rights reserved.
<metaInformation>
<scenarios ><scenario default="yes" name="Scenario1" userelativepaths="yes" externalpreview="no" url="file:///c:/Duck.svg" htmlbaseurl="" outputurl="" processortype="saxon8" profilemode="0" profiledepth="" profilelength="" urlprofilexml="" commandline="" additionalpath="" additionalclasspath="" postprocessortype="none" postprocesscommandline="" postprocessadditionalpath="" postprocessgeneratedext=""/></scenarios><MapperMetaTag><MapperInfo srcSchemaPathIsRelative="yes" srcSchemaInterpretAsXML="no" destSchemaPath="" destSchemaRoot="" destSchemaPathIsRelative="yes" destSchemaInterpretAsXML="no"/><MapperBlockPosition></MapperBlockPosition></MapperMetaTag>
</metaInformation>
-->