Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to extract the XML string
#1
How to extract the XML string.


1. I want to "<string name="?">(*.?)</string>" extract only the string.
2. If there is a "aa" and "aa" only want to change the aa string.
However, aa, which is included in the string of case aa and aab to use the find command is changed.
Only 'aa' how do I change?


<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="j">aa</string>
<string name="k">aab</string>
<string name="l">cc</string>
<string name="m">ddde</string>
<string name="n">fe</string>
<string name="o">f</string>
<string name="p">ggg</string>
<string name="q">hh1</string>
</resources>


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)