Skip to main content
Home

Search form

Menu

Search form

  • Overview
  • How To videos
  • Getting Started tutorials
  • Using SkyVault
  • Customizing
  • Programming
    • Integrating your application with SkyVault
    • Designing your application
    • Programming with CMIS
    • Programming with SkyVault services
    • Programming with Surf
    • Web Scripts
    • Scripting API
      • Root objects
      • ScriptNode Object API
        • childByNamePath
        • childrenByXPath
        • childFileFolders
        • getActiveWorkflows
        • isScriptContent
        • hasAspect
        • isSubType
        • Security API
        • Ownership API
        • Modifying and creating API
        • Check In/Check Out API
        • Versions API
        • Content API
        • ScriptContentData API
        • Transformation API
        • Thumbnail API
        • Tagging API
      • Search API
      • People API
      • Actions API
      • ScriptAction API
      • Logging API
      • Session API
      • Classification API
      • AVM API
      • WCM Web Projects
      • Utility methods
    • Services API
  • Copyright
  • Disclaimer
  • You are here

    SkyVault Enterprise 4.0.2 » Programming » SkyVault API Reference » Repository JavaScript API » Scripting API » ScriptNode Object API

    childrenByXPath

    childrenByXPath(xpath)

    This method 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']/*");

    Parent topic: ScriptNode Object API

    © 2017 TBS-LLC. All Rights Reserved.    Follow @twitter