Non white space characters cannot be added to content
1. new XDocument("root")=> new XDocument(new XElement("root"))
2. doc.Add(new XElement("child"))=> doc.Root.Add(new XElement("child")); 3. new XElement("childWithAttr", "a=b") =>new XElement("childWithAttr", new XAttribute("a", "b"))
Комментариев нет:
Отправить комментарий
Можете оставить свой комментарий