Anuj Singh

Anuj Singh

  • NA
  • 1
  • 0

is it possible to create a virtual xml file

Mar 25 2009 11:19 AM

I have to read/parse a .txt document and convert it to XML file. I used following statement
XmlTextWriter textWriter = new XmlTextWriter("C:\\newXMLFile.xml", null);
above statement is creating a physical copy of newXMLFile.xml on C drive. But I dont want it to be created physicaly on disk. Because this XML file will be a temporary file for my application.And according to my requirement it should not be created on disk at all.
 Is it possible to create a temproary or virtual  XML file. and if user wants to store this XML then it should save it physicaly on disk.

its urgent...thanks

 


Answers (2)