View Single Post
  #1 (permalink)  
Old 05-13-09, 06:50 AM
FitScorp FitScorp is offline
New Member
 
Join Date: Mar 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Compiler Error Message: CS1026: ) expected

Code:
Line 30: writer.WriteWhitespace("\n");
Line 31: writer.WriteWhitespace("\n");
Line 32:         writer.WriteRaw("<imagePath value="product.jpg"/>");
Line 33: writer.WriteWhitespace("\n");
Line 34: // writer.WriteRaw("<imagePath value = "product.jpg" />");

I am using ASP.NET and C# to make a dynamic XML file

The XML file has to print that line like:

Code:
<imagePath value= "product.jpg" />
But it does not like spaces nor additional " speech marks that are called

Last edited by digioz; 02-12-10 at 10:39 AM. Reason: Please use code tags
Reply With Quote