>> >>> <CAPs>
>> >>>  <CAP>
>> >>>    <Keys>
>> >>>      <Key>KEY1</Key>
>> >>>      <Key>KEY2</Key>
>> >>>      <Key>KEY3</Key>
>> >>>    </Keys>
>> >>> ...
>> >>>    <Parcels>
>> >>>      <Parcel>
>> >>>        <CAPs>
>> >>>            <CAP>
>> >>>              <Keys>
>> >>>                <Key>KEY1</Key>
>> >>>                <Key>KEY2</Key>
>> >>>                <Key>KEY3</Key>
>> >>>              </Keys>
>> >>> ...
>> >
>> > Sorry, I wasn't very clear there was I.
>> >
>> > It is actually a list of CAPs and each CAP can have a list of Parcels
>> > which in turn can have a list of attached CAPs.  The application won't
>> > recurse beyond that, but what I need to get is the Keys element out of
>> > the CAP list, but not include the Keys element out of the CAPs attached
>> > to the Parcels.
>> >
> 
> If the Parcels always appear after the plain CAPs, surely you can just
> match the 1st Keys element?

That works if I'm only trying to get one - however, since multiple CAPs
are returned I'm trying to get a set of the CAPs.CAP keys but not the
CAPs.CAP.Parcels.Parcel.CAPs.CAP keys.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to