Work with XML file that is recieved from AWS (Amazon webservice)
I have a button on my Form in C# , when a user clicks on it an XML file received from AWS (Amazon WebService). I want to process this received XML file with xml stylesheet. Should I save this XML in local and then work with that? Or what is the best solution for my scenario?
Answers
You can load your xml from response stream in XDocument and create XPathNavigator object in-memory. Then you could use overloaded Transform() method to perform stylesheet applying in-memory too. Example here