XML Functions (LR_XML) > Alphabetical List of Functions > lr_xml_get_values

lr_xml_get_values

Examples: lr_xml_get_values XML Functions (LR_XML)

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 name of the output parameter which stores the result of the query. If it does not exist, it is created.
Query: the XML Query or Fast 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.

Return Values

See Return Values

Parameterization

See Parameterization