XML函数_LoadRunner
|
Retrieves values of XML elements found by a query |
格式:
int lr_xml_get_values ( <List of specifications> [, <List of optional specifications> ] [, LAST]);
解析:
|
List of specifications
|
For the following list of required specifications, use the following string format:
"Specification=value" XML: the XML Input String to query ValueParam: the output parameter which stores the result of the query Query: the XML Query on the input string XML. You can specify elements or attributes.
|
|
List of optional specifications
|
For the following list of optional specifications, use the following string format:
"Specification=value" SelectAll: If "yes", all elements matching the query will be processed. If "no", only the first match will be processed. Default is "no". See Multiple Query Matching NotFound: See Continuing on Error |
|
LAST
|
A marker which indicates the end of the List of optional specifications
|
The lr_xml_get_values function queries the XML input string XML for values matching the Query criteria.
The ValueParam specification must be a parameter, and not a string. When a parameter with the name ValueParam already exists, then its value will be overwritten.
Retrieves values of XML elements found by a query
获得查询设置的XML值
Sets the values of XML elements found by a query
设置查询设置的XML值
Extracts XML string fragments from an XML string
从XML字符串截取部分字符
Inserts a new XML fragment into an XML string
插入一个新的XML片断到XML字符串里
Verifies that XML values are returned by a query
通过查询返回XML的校验值
Applies Extensible Stylesheet Language (XSL) Tranformation to XML data
应用XSL翻译成XML数据
浙公网安备 33010602011771号