Skip to content

xmlSetNodeAttributes (XML Creation & Manipulation)

  • Purpose
  •  This command sets the "attributename" and "attributevalue" in given nodes of an XML document. 
  •  If path mentioned is not part of the XML document, the command fails with error "PATH _DOES_NOT_EXIST ".  
  • Syntax
  • xmlSetNodeAttributes(xml_string || {path, {attributename,attributevalue}}, VariableName )
  • Target
  • xml_string || {path, {attributename,attributevalue},{attributename,attributevalue}}  
  • Value
  • VariableName
  • Return Value
  • The XML with added attributes to node(s)

Example(s):

Click here to see the example

 
 

Feedback and Knowledge Base