> For the complete documentation index, see [llms.txt](https://doc.orbeon.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.orbeon.com/xforms/xpath/extension-functions/deprecated-functions.md).

# Deprecated functions

## xxf:event()

```
xxf:event(
    $attribute-name as xs:string
) as item()*
```

`xxf:event()` works like the XForms 1.1 `event()` function, except that when using XBL components, `xxf:event()` returns event information from the original event instead of the retargeted event.

This function is deprecated since Orbeon Forms 4.0 and is just an alias for the standard `event()` function.

## xf:if() / xxf:if()

```
xf:if()
xxf:if()
```

This function implements the semantic of the XForms 1.0 `if()` function.

Prefer the XPath 2 `if(...) then ... else ...` construct.
