nodes (DOMDocument - JavaScript)
Gets all elements and attributes that match an XPath, or gets all elements and attributes that match an XPath using a namespace.
Defined in
DOMDocumentSyntax
node(xpath:string) : any[]
node(xpath:string, selectionNS:NamespaceContext)
: any[]