Small bug fix for case when kbps not specified
[sfa.git] / sfatables / processors / max_link_kbps.xsl
index b6776e1..1bf70db 100644 (file)
       
   <!-- Fill in missing kbps values --> 
   <xsl:template match="LinkSpec[not(kbps)]">
-      <xsl:copy>
-      <xsl:copy-of select="."/>
+    <xsl:copy>
+      <xsl:copy-of select="@* | *"/>
       <kbps><xsl:value-of select="$max-link-kbps"/></kbps>
-  </xsl:copy>
+    </xsl:copy>
   </xsl:template>
   
   <xsl:template match="sfatables-input"/>