Friends, in this code in each line "contact_name" is "Dave" ,it was a mistake. it should be like this.. In every YYYYYYY line [address="YYYYYYY"] , the contact_name="Dave" should be like contact_name="Carolin" and other particular lines are OK. Can anyone tell me how to re correct/Replace this?? Thank you. <sms protocol="0" address="XXXXXXX" date="1320100356651" type="2" toa="null" contact_name="Dave" /> <sms protocol="0" address="YYYYYYY" date="1320100499747" type="1" toa="null" contact_name="Dave" /> <sms protocol="0" address="XXXXXXX" date="1320100774796" type="2" toa="null" contact_name="Dave" /> <sms protocol="0" address="YYYYYYY" date="1320100808585" type="1" toa="null" contact_name="Dave" /> <sms protocol="0" address="XXXXXXX" date="1320100857870" type="2" toa="null" contact_name="Dave" /> Code (markup):
Very simple. Cut and paste the XML document into a text viewer. Search and replace each incorrect "Dave" with "Carolin". Copy the corrected text back to the XML file.
I almost answered this with that same answer as a joke. I'm sure you were perfectly serious @mmerlinn.
Based on what he asked, my answer is the best answer, so, you are correct, I was perfectly serious. However, I suspect that he did not ask the correct question, in which case my answer is completely useless.
I think you haven't got what i meant. I don't need to replace every "Dave" only for lines which have [address="YYYYYYY"] phrase.