| || |
save the string as an XML and read the attributes or values of each node?
I have a requirement as below.
I get a dynamic string as follows:
<OPTION value=""></OPTION> <OPTION value=DENYALL>Deny All</OPTION><OPTION value=DENYENTRY>Deny Entry</OPTION><OPTION value=DENYEXIT>Deny Exit</OPTION><OPTION value=UNRESTRICT selected>Unrestricted</OPTION>
My requirement is: to read all the "value" attributes in the above string. Is there a simple way to do that. Is it possible to save this string as an XML and read the attributes or values of each node?
Please suggest/guide me few solutions.