Hi all,

This is a response that the server send to me.
In the message's body there are these lines:

<method><name>list</name><object>webuser</object>
<attribute><name>returnValue<name><value>0</value></attribute>
<attribute><name>returnComment</name><value></value></attribute>
<attribute><name>nbstart</name><value>0</value></attribute></method>

I need to know the value of the attribute returnValue and nbstart contained
between the tags <value> and </value>

Can I use a regular expression like:

Regex: <name>returnValue</name><value>(\d+)</value>

Thanks a lot!!!
-Raffo

Reply via email to