3
我不得不作出這樣的,後一個XML到URL飛添加XML內容到的XDocument
<Student>
<Name>John</Name>
<Age>17</Age>
<Marks>
<Subject>
<Title>Maths</Title>
<Score>55</Score>
</Subject>
<Subject>
<Title>Science</Title>
<Score>50</Score>
</Subject>
</Marks>
</Student>
string marksxml = "<Marks><Subject><Title>Maths</Title><Score>55</Score></Subject><Subject><Title>Science</Title><Score>50</Score></Subject></Marks>";
XDocument doc = new XDocument(new XElement("Student",
new XElement("Name", "John"),
new XElement("Age", "17")));
需要採取哪些措施來嵌入字符串marksxml到的XDocument?