Forum Discussion

dacoffee's avatar
dacoffee
Occasional Visitor
8 years ago

Multiple Values in Variable

Hi,

 

I am using this tool for the first time. I am writing a code in executeXMLQuery and I need to pass more than one value under Variable. 

 

This is what the code looks like:

 

<v6:variables>
<v6:name>PRODUCT</v6:name>
<v6:value>ABC</v6:value>
</v6:variables>

 

When I execute the code, I get details where Product = ABC. Now, I want to get details where Product is either ABC or XYZ. I tried all of these:

 

<v6:variables>
<v6:name>PRODUCT</v6:name>
<v6:value>ABC</v6:value>

<v6:value>XYZ</v6:value>
</v6:variables>

 

<v6:variables>
<v6:name>PRODUCT</v6:name>
<v6:value>ABC,XYZ</v6:value>

</v6:variables>

 

<v6:variables>
<v6:name>PRODUCT</v6:name>
<v6:value>ABC;XYZ</v6:value>

</v6:variables>

 

None is working. Can you please help me?

1 Reply

  • nmrao's avatar
    nmrao
    Champion Level 3
    There is no context, and where you are using the above mentioned stuff and the issue is unclear. Would you please clarify with details / possibly a screen shot etc.,?