---
name: "Tree::XPathEngine::Root"
section: "3pm"
platform: "linux"
package: "libtree-xpathengine-perl"
version: "0.05-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Tree::XPathEngine::Root"
---

# Tree::XPathEngine::Root(3pm)

## NAME

```
 Tree::XPathEngine::Root - going back to the root node in an XPath expression
```

## METHODS

### new

### evaluate ($nodeset)

returns a nodeset containing the root node of the first element of the nodeset

### as\_string

### as\_xml

dumps the action as XML (as `"<Root/>"`)
