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 / Java handling

[ Lists Home | Date Index | Thread Index ]

//ItemOut//*[not(self::Tax or self::Shipping)]

Michael Kay
http://www.saxonica.com/ 

> -----Original Message-----
> From: Bob Irving [mailto:bob.irving@btinternet.com] 
> Sent: 08 February 2006 11:32
> Cc: xml-dev@lists.xml.org
> Subject: [xml-dev] XPath / Java handling
> 
> I'm trying to develop Java routines to process a cXML message using  
> XPath.
> The message is a PunchOutSetupRequest. This can contain <ItemOut>  
> elements which can either be for real Products or for dummies which  
> are for Tax and Shipping. I'm really only concerned with the real  
> Product data, but the XPath command I'm using cannot eliminate the  
> tax and shipping Money element. I'm using "//ItemOut/descendants-or- 
> self::*". Is there a way of ignoring the Tax and Shipping Nodes.
> 	TIA
> 		Bob Irving
> 
> 
> PS Pardon my terminology. I'm still coming to terms with XML.
> 
> -----------------------------------------------------------------
> 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>
> 
> 






 

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

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