How do you check if an node/element exist in a XML? I want to get the value of a specific element in the XML.
I created a sequence where it
- Read the Xml file
- Desterilize the XML (output is XML_Nodes)
- how to check if element exist? i.e check if element ABC exist
- if element exist, get the value.
XML_Nodes.Element(“Application”).Element(“Loan”).Elements(“Data”).Elements(“ABC”).ToString
Sample XML
<-Application>
<-Loan>
<-Data>
<-ABC>
<-EFG>
<-/Data>
<-/Loan>
<-/Application>