i have a string below
string response="<?xml version=\"1.0\"?>
<note>
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
</note>";
so its a string containing xml so now what i want is i want the body to be stored in some another string so how do i extract the node value body from the string containing xml in JAVA.
please reply me as soon as possible
string response="<?xml version=\"1.0\"?>
<note>
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
</note>";
so its a string containing xml so now what i want is i want the body to be stored in some another string so how do i extract the node value body from the string containing xml in JAVA.
please reply me as soon as possible