OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] XPATH expression

[ Lists Home | Date Index | Thread Index ]

Razvan MIHAIU wrote:
> Hi,
> 
> 
> 
> 
>    Can somebody explain to me what is the meaning of the following 
> expression:
> 
> a[not(following::x=.)]
> 

i realize that in my previous response, i considered 2 distinct examples 
because your code is not valid xml (no single root) ; but it's not 
obvious, as i was reading Michael Kay's response that considered your 
code as a single snippet xml

> 
>    Sample xml:
> 
> <B>
>    <a>1</a>
>    <a>2</a>
>    <a>1</a>
>    <x>3</x>
>    <x>4</x>
>    <x>2</x>
> </B>
> 
> <B>
>    <a>3</a>
>    <a>1</a>
>    <a>2</a>
>    <a>3</a>
>    <x>5</x>
>    <x>4</x>
>    <x>1</x>
> </B>
> 
> 
> 
> Regards,
> Razvan
> 
> 
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
> 
> The list archives are at http://lists.xml.org/archives/xml-dev/
> 
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://www.oasis-open.org/mlmanage/index.php>
> 


-- 
Cordialement,

            ///
           (. .)
  -----ooO--(_)--Ooo-----
|   Philippe Poulard    |
  -----------------------




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS