Hi Patrizio, Depending on how complex you xpath will be executed by an internal XMLBeans engine or Saxon engine. The XMLBeans xpath engine is usually much faster but supports a very limited subset of xpath. Saxon on the other hand is more complete but since it uses XMLBeans store as a DOM it usually is slower. But even for Saxon 3s for a 400k doc is kind of much on today's procs, but again how complex is the xpath?
Cezar > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 10, 2007 2:54 AM > To: [email protected] > Subject: RE: XMLBeans and XmlCursor > > Hi Cezar, > > thanks. I've used: > > - XMLCursor.selectPath() > - only one XMLCursor object > - + cursor.push() & cursor.pop() methods. > > Now the result is ok: > > Response: > <eda:quoteEvent xmlns:eda="http://www.bsource.ch/EDA"> > <eda:security>CS GROUP N</eda:security> > <eda:date>09-03-2007</eda:date> > <eda:time/> > <eda:national-nr>1213853</eda:national-nr> > <eda:change>-0.2</eda:change> > <eda:volume>5821192</eda:volume> > <eda:currency transcoder="CURRENCY">001</eda:currency> > <eda:prev-close>87.9</eda:prev-close> > <eda:open>87.75</eda:open> > <eda:currency transcoder="CURRENCY">002</eda:currency> > <eda:last>87.7</eda:last> > </eda:quoteEvent> > > but what about the 'huge response time' ? > > execQuery elapsed time msec: 3281 for a document of only 471 bytes ! > > Thanks again > Patrizio > > Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

