Ethernet output issues

I’m going to say this is probably my fault…but I have no idea why this code is coming up with these errors:

client.println("HTTP/1.1 200 OK");
          client.println("Content-Type: text/xml");
          client.println();
          client.println("<node id="Node">");
          client.println("<sensor id=""0"">"SensorValue[0]"</sensor>");
          client.println("<sensor id=""1"">"SensorValue[1]"</sensor>");
          client.println("<sensor id=""2"">"SensorValue[2]"</sensor>");
          client.println("<sensor id=""3"">"SensorValue[3]"</sensor>");
          client.println("<sensor id=""4"">"SensorValue[4]"</sensor>");
          client.println("<sensor id=""5"">"SensorValue[5]"</sensor>");
          client.println("</node>");

Voltage_Meter_1_0.cpp: In function ‘void loop()’:
Voltage_Meter_1_0:42: error: expected )' before 'Node' Voltage_Meter_1_0:43: error: expected )’ before ‘SensorValue’
Voltage_Meter_1_0:44: error: expected )' before 'SensorValue' Voltage_Meter_1_0:45: error: expected )’ before ‘SensorValue’
Voltage_Meter_1_0:46: error: expected )' before 'SensorValue' Voltage_Meter_1_0:47: error: expected )’ before ‘SensorValue’
Voltage_Meter_1_0:48: error: expected `)’ before ‘SensorValue’

I was under the impression I could mix text and variables within a print command line like I’ve done. If I try to separate them with parenthesis it gives me yet another series of errors.

What have I done wrong? I’m not seeing the gap here… :-/

Never mind, found the solution. Mixing client.println and client.print:

client.println("HTTP/1.1 200 OK");
          client.println("Content-Type: text/xml");
          client.println();
          client.println("<node id=");
          client.print(Node);
          client.print(">");
          client.println("<sensor id=""0"">");
          client.print(SensorValue[0]);
          client.print("</sensor>");
          client.println("<sensor id=""1"">");
          client.print(SensorValue[1]);
          client.print("</sensor>");
          client.println("<sensor id=""2"">");
          client.print(SensorValue[2]);
          client.print("</sensor>");
          client.println("<sensor id=""3"">");
          client.print(SensorValue[3]);
          client.print("</sensor>");
          client.println("<sensor id=""4"">");
          client.print(SensorValue[4]);
          client.print("</sensor>");
          client.println("<sensor id=""5"">");
          client.print(SensorValue[5]);
          client.print("</sensor>");
          client.println("</node>");

I was under the impression I could mix text and variables within a print command line like I've done.

Nope. One variable or string of text per print(ln) statement.