I’m creating some XML and saving it to a file via FileStream, but the child nodes are indented with 2 spaces. How can I reformat with tabs instead? I’m trying to write a recursive function to go through the xml and build the string I want, but then my question is: If I had the following XML…
<name>
<first>Lisbeth</first>
<last>Salander</last>
</name>
… how do I get the string “<first>Lisbeth</first>” instead of getting “Lisbeth”?