Subject: Re: need a help with following siblings
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Wed, 16 Mar 2011 11:25:00 +0000
|
On 16 March 2011 11:19, Red Light <skydelta98@xxxxxxxxx> wrote:
> hi,
>
> plz can somebody with the following requirement, i have my xml data like
this:
>
...
>
> i need to know it inside a tag <listElement> having the
<categOrSubOrOther> value to 'Categ' followed by another tag that have the
<categOrSubOrOther> to 'Sub'
>
> and thanks a lot for your help.
What should the result be... a true/false, or an element?
Spend some time producing a small a complete example: a sample input
(stripped down the minimum possible), the corresponding required
output, and a clear description of the problem.
--
Andrew Welch
http://andrewjwelch.com
|