Hi,
Actually i need to convert a word called Terms to terms by using SedScript in a xml file . The following is an Element tag(user-defined tag) which has got Text tag in a xml file.
<ELEMENT id="E111">
<TEXT countrynumber="*" languageid="*">Terms </TEXT>
</ELEMENT>
so using SedScript i need to check if the element id is "E111" and countrynumber="*" and languageId="*", then change the word Terms to terms
so i have written the sedscript like
#change element E111 replace "{Terms} - {terms}"
/<ELEMENT [ ]*id[ ]*=[ ]*"E111"/,/<\/ELEMENT/ {
s/Terms/terms/g
}
but in the above sedscript, i don't know how to include the condition for countrynumber="*" and languageId="*"
Can anyone help me
And this is very urgent
Regards
-Nivi