Skip to content

xmlExtractValuesByPaths (XML Creation & Manipulation)

  • Purpose
  • This command is used to return data from a 'xml_string' in the specified path.
  • Returns NULL if any argument is  EMPTY or no 'paths' locate a value in the 'xml_string'. An error occurs if the 'xml_string' argument is not a valid or any 'path' argument is not a valid path expression.
  • The return value consists of all values matched by the 'path' arguments. It is possible that those arguments could return multiple values, the matched values are autowrapped as a List in the order corresponding to the paths that produced them. Otherwise, the return value is the single matched value.
  • Syntax
  • xmlExtractValuesByPaths(xml_string||path(, path), DataSetName )
  • Target
  • xml_string||path(, path)  
  • Value
  • DataSetName
  • Return Value
  • Returns the values present in the specified path. 

Example(s):

Click here to see the example

 
 

Feedback and Knowledge Base