Function: apply_xpath

## Name

apply_xpath — Query the XCEDE dataset using XPath

## Description

This function returns the node list resulting from applying the given XPath expression to the existing full XCEDE dataset. Not all services will support this functionality, as they may not maintain an XCEDE representation of the full backing dataset, and may instead create XCEDE for subsets of the data when requested.

## Parameters

xpath

  (required)

  The XPath expression.

## Return value

A list with the following items:

XPath result (one or more)

  Each node in the result set will be returned in a separate "XPath result" item.

message (zero or one)

  An optional message with diagnostic info with regards to the return value or the processing of this request.