I am using a XML file to get data into my VB Application.
Is there a way to create a DOM object, and directly check the attribute value without looping?
Eg: Assume the xml file below
<?xml version="1.0" encoding="utf-8"?>
<ErrorCodes>
<Error Number="1" Action="ResumeNext" Description="D1" />
<Error Number="2" Action="ResumeNext" Description="D2" />
</ErrorCodes>
In my VB Code can i directly check for the value for the attribute "Number" inside the <Error/> node?
Is there a way to create a DOM object, and directly check the attribute value without looping?
Eg: Assume the xml file below
<?xml version="1.0" encoding="utf-8"?>
<ErrorCodes>
<Error Number="1" Action="ResumeNext" Description="D1" />
<Error Number="2" Action="ResumeNext" Description="D2" />
</ErrorCodes>
In my VB Code can i directly check for the value for the attribute "Number" inside the <Error/> node?