How do I make an XDocument object save the value of an attribute of an element with single quotes?
If it is absolutely necessary to have single quotes, you can write your XML document to a string, and then use string substitution to go from single to double quotes.
I'm not sure that any LINQ to XML formatting options allow you to specify this. Why do you need this? This is a pretty bad kind of XML handler that will take care of this ...
, XML- , . , XML- , (, , XML). , , . , sed grep XML, . - , XML , XML, , XML. , , XML, XML.
If you cannot do this, then JacobE's offer is likely to be your best bet.
Source: https://habr.com/ru/post/1698530/More articles:Can you recommend a good MySQL stored procedure debugger? - debuggingAdding an AND clause to a regex - regexASP.NET PasswordRecovery Control with localized content - asp.netcherry non-closing sockets - pythonThere are no report items in the toolbar (VS 2008 SP1) - c #Manipulating strings in MS SQL Server - stringtf-idf and previously invisible terms - algorithmDetection of duplicate music files - mp3What is the point of the garbage collector - garbage-collectionHow to create Delphi TSpeedButton or SpeedButton in C # 2.0? - c #All Articles