I need to identify each lstdScrtyDisp element and then manipulate the elements within it (e.g. conver calcDate to a DateTime format and use it to calculate date data.)
Can anyone please help me out with what I’m doing wrong?
I’ve attached the xml.
I’m wanting to extract every lstdScrtyDisp (or iterate through them using For Each) and use the elements within lstdScrtyDisp e.g. noOfShares.
That works, thanks Yoichi. Your help is always invaluable, so thank you again.
If I wanted to invoke a decendant value of an element within lstdScrtyDisp e.g. noOfShares, would I use xDoc.Descendants(xns+“lstdScrtyDisp”).descendants(“noOfShares”)?
THis is my first time using XML and I’m finding it very confusing.