Sorry ... "/" instead of "\" of course. What can I do to display or write in a text file the variable?
Thanks a lot!!!! -Raffo 2006/1/12, sebb <[EMAIL PROTECTED]>: > > On 12/01/06, Raffaele Viola <[EMAIL PROTECTED]> wrote: > > 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>. > > Are you sure it is <\value> ? > I would have expected </value>. > > > What can I write in Regular Expression Extractor to take the value and > put > > it in a variable? > > Assuming that it _is_ valid XML: > > Name: returnValue > Regex: <name>returnValue</name><value>(\d+)</value> > Template: $1$ > > Similarly for nbstart - you'll need a second extractor to do this. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >

