So, I have some data in the form of:
<foo><bar>test</bar></foo>
What .NET classes/functions would I want to use to convert this to something pretty and write it out to a file looking something like this:
<foo>
<bar>
test
</bar>
</foo>
Be specific on the functions and classes please, not just "use System.XML". There seems to be a lot of different ways to do things in .NET using XML :(
Thanks
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…