[bdbxml] replace string value in all documents
Koteswar <kotesh-XlBN/1irOrIlJZD/[email protected]> Wed, 10 May 2006 00:29:32 -0700 (PDT)
| Newsgroups | gmane.comp.db.dbxml.general |
|---|---|
| Message-ID | <[email protected]> |
I have 100,000 documents.
I want to search for a particular string and replace it in all documents.
This is one sample document..
<dir>
<dname>reference</dname>
<dpath>D%3A%5Cunzipped%5Chibernate-3.1%5Cdoc%5Creference</dpath>
<dir>
<dname>tutorial</dname>
<dpath>D%3A%5Cunzipped%5Chibernate-3.1%5Cdoc%5Creference%5Ctutorial</dpath>
<file>
<fname>runCleanDatabase.sh</fname>
<fpath>D%3A%5Cunzipped%5Chibernate-3.1%5Cdoc%5Creference%5Ctutorial%5CrunCleanDatabase.sh</fpath>
</file>
</dir>
</dir>
Now I want to find the string " reference" and replace with " reference-1 "
in all the documents.
dname , dpath and fpath contains search string "reference".
How can I acheive this..
Thank You,
Regards,
Kotesh
--
View this message in context: http://www.nabble.com/replace-string-value-in-all-documents-t1589860.html#a4314694
Sent from the Berkeley DB Xml - General forum at Nabble.com.
------------------------------------------
To remove yourself from this list, send an
email to [email protected]