Skip to content

xmlSearchValueOccurrence (XML Creation & Manipulation)

  • Purpose
  • This command checks for a specific value is present in the input XML.
  • Returns NULL if the argument is EMPTY or the 'path' argument does not identify a section of the target 'xml_string'. 
  • An error occurs if either 'xml_string' argument is not a valid XML document or the 'path' argument is not a valid path expression or contains a * or ** wildcard.
  • Syntax
  • xmlSearchValueOccurence(  xml_string || val,path, VariableName )
  • Target
  • xml_string || val,path  
  • Value
  • VariableName
  • Return Value
  •  Returns 0 if the value does not exist or 1 if the value exists.

Example(s):

Click here to see the example

 
 

Feedback and Knowledge Base