setValue (DOMDocument - JavaScript)

Sets the value of an element, or sets the value of an element using a namespace.

Defined in

DOMDocument

Syntax

setValue(xpath:string, value:string) : void

setValue(xpath:string, value:string, selectionNS:NamespaceContext) : void

Parameter Description
xpath
value
selectionNS