Hi all,

Documentation and the list archive say that you can use a Xerces DOM document 
if you wish to update your document while using XPath. Or at least something 
similar, perhaps I'm misconstruing the intent.

Here is what I would like to do:

I have an existing app using Xerces DOM where I create/update an XML document.  
Looping through a cvs file, extracting the data and updating or adding elements 
in the XML as needed.  This was working fine until the data and the # of 
elements were smaller.  After adding new types of data performance has gone in 
the hopper.

I would like to be able to use XPath to locate nodes for update,  if the node 
is not found I would add the new element and refresh the document tree.

Perhaps this is not how XPath is intended to be used?

Mark Helzer



This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, please notify us immediately by e-mail and delete the message and any 
attachments from your system.

Reply via email to