title: Formatting large XML-Files in C# (without XDocument)
body: <p>I have very huge XML files that i have to format. The files can be up to 10GB big.</p>
  
  <p>I couldnt find any solution that doesnt include XDocument. XDocument loads the whole file into the RAM which obviously will be problematic with a 10GB file. Especially in 32 bit systems</p>
  
  <p>Writing an XML formatter from scratch that works with a stream kind of feels like reinventing the wheel to me. I cant imagine me being the first person who had to work with something like this. If possible I would like to use an existing solution.</p>
  
  <p>Does anyone know anything i can work with other than writing everything myself?</p>
  
  <p>Thank you</p>
  
  <ul>
  <li>.Net Framework 4.8</li>
  <li>C#8</li>
  </ul>