xpathExpressionXPATH expression that specifies the nodes to select.
Zurückgegebener Wert
domNode
This method uses a XPath expression and returns the first node that satisfies the XPath expression.
var factory = shell.serviceManager.maxiXML.factory;
var dom = factory.createDOMDocumentFromPath("c:\\document.xml", false);
var element = dom.documentElement;
var nodes = element.selectSingleNode("/img[@src]");