Find and replace query
Posted: Wed Oct 29, 2014 5:47 am
Hi there,
I hjave an xml doc that needs to change for it to be used with our software (Adobe Captivate)we use xml to import as a glossary for any eLearning modules we produce.
Problem I am having is with the find and replace options where I need one ting to change to another, but there are 2 of the others as per below....
<label>
<label>Collateral </label>
<def>Property pledged to secure a loan or debt.</def>
</label>
I want to change this to read <term><label>
But I also have the word label here which I do not want to change<label>Combined Court</label>
<def>A Court that has both High Court and District Court sittings.</def>
and this to </term></label>
<label>
<label>Compensatory damages</label>
<def>Money awarded to reimburse actual costs, such as medical bills and lost wages. Also awarded for things that are harder to measure, such as pain and suffering.</def>
</label>
<label>
How could I achieve this with a find and replace in my xml doc.
By the way It should be know, I am a novice at this
Any help appreciated
Kind Regards
Rossco
I hjave an xml doc that needs to change for it to be used with our software (Adobe Captivate)we use xml to import as a glossary for any eLearning modules we produce.
Problem I am having is with the find and replace options where I need one ting to change to another, but there are 2 of the others as per below....
<label>
<label>Collateral </label>
<def>Property pledged to secure a loan or debt.</def>
</label>
I want to change this to read <term><label>
But I also have the word label here which I do not want to change<label>Combined Court</label>
<def>A Court that has both High Court and District Court sittings.</def>
and this to </term></label>
<label>
<label>Compensatory damages</label>
<def>Money awarded to reimburse actual costs, such as medical bills and lost wages. Also awarded for things that are harder to measure, such as pain and suffering.</def>
</label>
<label>
How could I achieve this with a find and replace in my xml doc.
By the way It should be know, I am a novice at this

Any help appreciated
Kind Regards
Rossco