Copy attributes in addition of internal tags.
[sfa.git] / sfatables / processors / max_link_kbps.xsl
index 71d0abe..b6776e1 100644 (file)
       
   <!-- Fill in missing kbps values --> 
   <xsl:template match="LinkSpec[not(kbps)]">
-    <LinkSpec>
-      <xsl:copy-of select="*"/>
+      <xsl:copy>
+      <xsl:copy-of select="."/>
       <kbps><xsl:value-of select="$max-link-kbps"/></kbps>
-    </LinkSpec>
+  </xsl:copy>
   </xsl:template>
   
   <xsl:template match="sfatables-input"/>