• Stewart "Arturius" Campbell (1/27/2012)


    KWymore (1/27/2012)


    Stewart,

    One thing to note. Answer 2 and 3 don't match the case for columns "name" and "componentname" as declared in the example code. Since I know little of XML, I took a stab at this question by eliminating those 2 answers first based solely on the columns not matching and then tried to figure it out. I got lucky and answered correctly.

    Not sure how many others would narrow down their response this way but I thought I would bring it to your attention anyways.

    Thanks for this. I have checked, and found that the only place where the column names differ is in the alias assignment of the relevant lines.

    The relevant element names, as used in the tab1.col1.value() method, are correct.

    Yes, but the fact that the case used in the aliases is not consistent throughout means that answers 2 and 3 cannot possibly give the required result set. I also managed to get it right by eliminating those two and taking a guess.

    John