You are here

childrenByXPath

childrenByXPath(xpath) performs an XPath-based query relative to the current node.

Parameters

xpath
XPath query to select nodes.

Returns

Returns an array of the nodes found. If no results are matched, returns an empty array.

Example

var nodes = userhome.childrenByXPath("*[@cm:name='Finance Documents']/*");

Sending feedback to the Alfresco documentation team

You don't appear to have JavaScript enabled in your browser. With JavaScript enabled, you can provide feedback to us using our simple form. Here are some instructions on how to enable JavaScript in your web browser.