LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I load XML via string

Hi All,
I am wondering if there is a way to load a string (that happens to be XML) into an xml dom parser control? All of the load functions that I have seen require me to use a file path to load the xml. Basically I�m looking for the LabView loadXml(xmlString) equivalent.

Thanks,

Jim
0 Kudos
Message 1 of 2
(2,830 Views)
Hi,

The MSDOM document2 object (IXMLDOMDocument2) has a method loadXML that
takes a string as input (bstrXML). Just pass an xml string to it.

Regards,

Wiebe.

"jprucha" wrote in message
news:50650000000800000069F90000-1079395200000@exchange.ni.com...
Hi All,
I am wondering if there is a way to load a string (that happens to be
XML) into an xml dom parser control? All of the load functions that I
have seen require me to use a file path to load the xml. Basically
I'm looking for the LabView loadXml(xmlString) equivalent.

Thanks,

Jim
0 Kudos
Message 2 of 2
(2,830 Views)