Bingo. Even more than that though.
WriteXmlValue(string, string, variant)
WriteXmlValue(object, string, variant)
and
WriteXmlValue(xmlstring, string, variant)
Where if instr(xmlstring,"<")
Not a filename, but an XML string of elements. So you could build your XML file in a string and then do a $=$objXML.loadXML($strXML) (note the loadXML method instead of .load)
I really haven't thought out what this would buy us as brainstorming doesn't lend well to rational thought. But, I think later it may handy when dealing with creating XSL on the fly or creating new .XML files from portions of existing XML.
I forgot to add WriteXmlValue() the previous list... Done.
_________________________
-Jim
...the sort of general malaise that only the genius possess and the insane lament.