How to use single quotes on ONE XAttribute value?

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Using Linq I want to create a XML file like this:
... <Plugin name="Production" commandline=/S:"Solution" /T:"Task" numberofitems="1" /> ...
That will say, I need to use single quotes on the commandline value, but double quotes on all other attributes, elements etc. Is there a way to do that or do I have to create the XML file "manually"?

View the full article
 
Back
Top