----- Original Message ----- From: "Ciprian Popovici" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 23, 2002 2:54 PM Subject: despre xpath
> ============ > This may be a little OT, but I wonder if something can be done about > it in respect to Xindice: whenever I select something with XPath it > returns the matching elements PLUS all their children. If I need some > elements high in the XML tree I will practically get most of the > document included in the query result. Is there a way to restrict the > result to just the matching elements _wihtout_the_children_? Yes, I > know it would not be the full correct XML, but returning everything > when I only need the very elements I'm looking for seems like a waste. > It seems as though the "self" axis should do this (//CD/self::*) but > it doesn't. > ============ > > --Ciprian Popovici Florin Tudor Web Application Developer / Consultant Middleware & Programming Dept. Integrator /SAP Romania www.sap.ro, www.integrare.ro
