On Tue, 2 Sep 2003, Raveendranath, Rohith (LNG - AUS) wrote:

//C[not(parent::B)]

> Hi all,
>
> If I have an xml like :
>
> <A>
>       <B>
>               <C/>
>       </B>
>       <D>
>               <C/>
>       </D>
>       <E>
>               <C/>
>       </E>
> </A>
>
>
> Is there any way of seleceting al the element C whose parent is not B - What
> is the equalent Xpath
>
> Regards
> Rohith
>
> This e-mail is for the use of the intended recipient(s) only.  If you have
> received this e-mail in error, please notify the sender immediately and then
> delete it.  If you are not the intended recipient, you must not use, disclose
> or distribute this e-mail without the author's permission.  We have taken
> precautions to minimise the risk of transmitting software viruses, but we
> advise you to carry out your own virus checks on any attachment to this 
> e-mail.
> We cannot accept liability for any loss or damage caused by software viruses.
>


****************************************************************
Jarkko Moilanen          "The box said that is needs
Researcher                Windows 95 or better... So I
jm60697 at uta.fi         installed Linux."
www.uta.fi/~jm60697
GSM: +358 50 3766 927
****************************************************************
* ITCM | Information Technology and Crisis Management
* http://www.itcm.org
****************************************************************





Reply via email to