The previous expression for copying the current node had a hitch, next attempt.
authorSapan Bhatia <sapanb@cs.princeton.edu>
Mon, 9 Nov 2009 22:20:12 +0000 (22:20 +0000)
committerSapan Bhatia <sapanb@cs.princeton.edu>
Mon, 9 Nov 2009 22:20:12 +0000 (22:20 +0000)
sfatables/processors/max_node_kbps.xsl

index c23cd7d..17faf7c 100644 (file)
@@ -29,7 +29,7 @@
   <!-- Fill in missing kbps values --> 
   <xsl:template match="NodeSpec[not(max_rate)]">
       <xsl:copy>
-          <xsl:copy-of select="."/>
+          <xsl:copy-of select="@*"/>
           <max_rate><xsl:value-of select="$max-node-kbps"/></max_rate>
       </xsl:copy>
   </xsl:template>