Alright, so let's say I have the following XML fragment as part of a
SOAP message:
Now, I have the following code:
The inputBody is in effect the MbElement representing the SOAP node.
Now, I can do the following:
and I will wind up with firstDetail being an MbElement that represents the first DETAILS element - whose value is "M5-100"
However, if I do this:
I would EXPECT that details is a List<MbElement> with a size of 3, with each one being a DETAILS element. However, it comes back as an empty list.
Oddly, I CAN do this:
and it will work - I get a List<MbElement> of size 1, and that one item is the Body MbElement. But any deeper in the hierarchy, and it just gives me an empty list.
So, why is that? What am I doing wrong that I am not getting a 3-element List<MbElement> back?