Small bug fix for case when kbps not specified
authorAndy Bavier <acb@cs.princeton.edu>
Thu, 12 Nov 2009 18:21:12 +0000 (18:21 +0000)
committerAndy Bavier <acb@cs.princeton.edu>
Thu, 12 Nov 2009 18:21:12 +0000 (18:21 +0000)
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"/>