[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: XPath / Java handling
//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> > >
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|