Again, something really simple I think - I will appreciate the help. 

I have a console application that converts json to xml, then displays the
xml in the default browser. It works fine if I write the xmldocument to disk
first - doc.save(filename) - then start a process with browser (or pathed
file alone). All on a local machine. For information, doc.save(Console.out)
gives the user some feedback but is redundant. 

But I would prefer not to write the intermediate file. 

I have been trying to pass a String derived from xmldocument to
MyProcess.StartInfo.Arguments(xxx)  - ie, trying to feed the content direct
to the browser (which is started with MyProcess.StartInfo.FileName =
theBrowser).

Internet Explorer takes a filename as input (my .Argument(xxx) is fine), but
how can I pass the xmldocument straight to it? 

  _____  

Ian Thomas
Victoria Park, Western Australia

 

Reply via email to