XML DOM Get all XML after Load -
i using xml dom loadxml method.
how can return entire xml file variable after doing this? know how parse xml; want entire xml file single chunk of text assigned variable. i've scanned xml dom properties cannot find specific task.
essentially, want able set varxml = xml.getcontents (of course, getcontents isn't real property).
i'm receiving xml via request method using vbscript; vbscript won't allow setting variable request.
is option parsing out node node? surely there way entire xml @ once?
use .xml property of msxml2.domdocument:
>> dim objmsxml : set objmsxml = createobject("msxml2.domdocument") >> objmsxml.loadxml "<a>b</a>" >> wscript.echo objmsxml.xml >> <a>b</a>
Comments
Post a Comment