[Home] [By Thread] [By Date] [Recent Entries]


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

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

> -----Original Message-----
> From: Bob Irving [mailto:bob.irving@b...] 
> Sent: 08 February 2006 11:32
> Cc: xml-dev@l...
> Subject:  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>
> 
> 



Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member