12-16-04 11:49 PM
Did you try :
xpath(msg, "string(//Field[1])");
Or
xpath(msg, "string(Field[1])");
In your message your elements are called -> Field but in
your xpath it is -> field
Maybe just a typo but the statments are case sensitive.
Also look here for some xpath examples :
http://msdn.microsoft.com/library/d...athexamples.asp
Matt.
"Carlos" wrote:
> I'm calling a web service within my orchestration that returns a xml.docum
ent.
>
> This is what it returns:
>
> <?xml version="1.0" encoding="utf-8" ?>
> - <MainFrameOutput>
> <Field>PASSED SECURITY</Field>
> <Field>INFO - SIGNON ACCEPTED</Field>
> </MainFrameOutput>
>
> But depending on the message, it could have more "Field" nodes. Now I'm
> thinking I'll be using a loop and getting the childnode count to control t
he
> loop. But how do I get the value in the "Field" node.
>
> I've tried "varstring = xpath(msg, "string(/*/field[1])");". But it
> returns a space.
>
> --
> Carlos
[ Post a follow-up to this message ]
|