You need to get hold of a document object and doc.write the xml to it. You'll have to set up the document object with the right styles, etc. to get the XML to display right.
Writing to a temporary file is most likely to be much simpler. -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.)
