A
adidev
hello,
anyone know how to return any quotes used inside a text node?
for example:
<node1>This is my text node, my quote "quote" is
here</node1>
what i want to do is escape those " with ' through the use of
regular expressions
the string i will be operating on is an xml document represented as a
string so there will be multiple nodes per line, etc. when replacing
" with " i do not want to replace attribute " eg. <node1
myattrb="blah"> ( i want to leave these alone )
anyone know how to return any quotes used inside a text node?
for example:
<node1>This is my text node, my quote "quote" is
here</node1>
what i want to do is escape those " with ' through the use of
regular expressions
the string i will be operating on is an xml document represented as a
string so there will be multiple nodes per line, etc. when replacing
" with " i do not want to replace attribute " eg. <node1
myattrb="blah"> ( i want to leave these alone )