Using Find/Replace - Do I need to use Regular Expressions?
Posted: Thu Nov 29, 2007 8:27 pm
Hi All,
I have a need to do a mass replace on a certain tag in an xml file.
I need to replace the value in a tag from whatever it is to a null.
For example, I have an element with the following tags.
<tag1 Attribute="Y"><![CDATA[41]]></tag1>.
The cdata section for this tag through out the whole file can contain many different values. I need to change them all to null regardless of the current value.
Can anyone point me in the right direction? I have done some searching on the web for perl regular expressions because that is what the user guide says oXygen uses for it's regular expressions.
What I am seeing at the moment isn't helping me much.
Thanks,
Doug
State of Utah
I have a need to do a mass replace on a certain tag in an xml file.
I need to replace the value in a tag from whatever it is to a null.
For example, I have an element with the following tags.
<tag1 Attribute="Y"><![CDATA[41]]></tag1>.
The cdata section for this tag through out the whole file can contain many different values. I need to change them all to null regardless of the current value.
Can anyone point me in the right direction? I have done some searching on the web for perl regular expressions because that is what the user guide says oXygen uses for it's regular expressions.
What I am seeing at the moment isn't helping me much.
Thanks,
Doug
State of Utah