Vbscript 将Msxml2.dom文档的内容设置为textarea

Vbscript 将Msxml2.dom文档的内容设置为textarea,vbscript,textarea,domdocument,Vbscript,Textarea,Domdocument,使用下面的代码,我能够成功加载XML文件。但是我想将总内容设置为一个textarea,我该怎么做呢 Dim xmlDoc, objNodeList, plot Set xmlDoc = CreateObject("Msxml2.DOMDocument") xmlDoc.load("\ReadIT.xml") 'I want to set this xmlDoc total content to a textarea xml将为您提供ReadIT.xml的全部xml内容

使用下面的代码,我能够成功加载XML文件。但是我想将总内容设置为一个textarea,我该怎么做呢

Dim xmlDoc, objNodeList, plot
Set xmlDoc = CreateObject("Msxml2.DOMDocument")
xmlDoc.load("\ReadIT.xml")
'I want to set this xmlDoc total content to a textarea

xml将为您提供ReadIT.xml的全部xml内容