I have received data from a SOAP call and put it into an MSXML2.DOMDocument using the loadXML function. The data returned looks something like this:
I would like to look for specific values in the data returned. For example, just get the value of User_ID.Code:<ResultSets> <ResultSet> <RowCount>1</RowCount> <Rows> <Row> <Columns> <Column> <Value>George Davis</Value> <Name>Employee</Name> </Column> <Column> <Value>3/7/2019 10:04:52 AM</Value> <Name>Begin_Time</Name> </Column> <Column> <Value>3829927</Value> <Name>Clockin_Key</Name> </Column> <Column> <Value>Production</Value> <Name>Cost_Sub_Type</Name> </Column> <Column> <Value>cst.GeorgeD</Value> <Name>User_ID</Name> </Column> <Column> <Value>Davis</Value> <Name>Last_Name</Name> </Column> <Column> <Value>0</Value> <Name>Contract_Worker</Name> </Column> </Columns> </Row> </Rows> </ResultSet> </ResultSets>
Is there a way, with the DOMDocument to easily find these specific values?
Thanks in advance for your help.




Reply With Quote