- TIBCO BusinessEvents®
- Standard
- XPath

# XPath

## Description

This category provides list of xpath functions to operate on the event payload

## Functions

Name | Signature and Synopsis
--- | ---
`evalAsBoolean` | `boolean evalAsBoolean (String path)` Evaluate an XPath Expression and return a boolean.
`evalAsDateTime` | `DateTime evalAsDateTime (String path)` Evaluate an XPath Expression and return a DateTime.
`evalAsDouble` | `double evalAsDouble (String path)` Evaluate an XPath Expression and return a double.
`evalAsInt` | `int evalAsInt (String path) and return an int.` Evaluate an XPath Expression
`evalAsLong` | `long evalAsLong (String path)` Evaluate an XPath Expression and return a long.
`evalAsString` | `String evalAsString (String path)` Evaluate an XPath Expression and return a String.
`execute` | `String execute (String xpath, String xml, String prefixes)` Evaluate an XPath Expression against the input XML String. See Language Reference for examples.
`executeWithEvent` | `String executeWithEvent (String xpath, Event event, String prefixes)` Evaluate an XPath Expression against the input event.
`executeXPathWithEvent` | `String[] executeXPathWithEvent (String xpath, Event event, String prefixes)` Evaluate an XPath Expression against the payload of the input event.