c# - Assign an namespace to an XML document without loading the XML -


We are working with very large XML files (100 MB to 3 GB and more) in our company. Now, the documents that are given to our system are distributed without the namespace, which can not control the system, we need a namespace in the document.

We are currently loading XML documents and XLST changes we are setting up the namepacks.

Of course, loading an XML document via the following code:

  loadedDoc.LoadXml (xmlData);  

takes a very long time when using large files. In the past, we were working with small files, so this was never an issue.

Does the solution on the Abodod know how to set a namespace in the XML document in the most efficient way?

Kind regards


Comments