From: Sapan Bhatia <sapanb@cs.princeton.edu>
Date: Mon, 9 Nov 2009 22:20:12 +0000 (+0000)
Subject: The previous expression for copying the current node had a hitch, next attempt.
X-Git-Tag: sfa-0.9-6~26
X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=2a58299b6ab09f7cc5860eb28f9746436561d085;p=sfa.git

The previous expression for copying the current node had a hitch, next attempt.
---

diff --git a/sfatables/processors/max_node_kbps.xsl b/sfatables/processors/max_node_kbps.xsl
index c23cd7d8..17faf7c2 100644
--- a/sfatables/processors/max_node_kbps.xsl
+++ b/sfatables/processors/max_node_kbps.xsl
@@ -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>