---
name: "Tree::XPathEngine::Variable"
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::Variable"
---

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

a variable in a Tree::XPathEngine object

## NAME

Tree::XPathEngine::Variable - a variable in a Tree::XPathEngine object

## METHODS

This class does NOT contain 1 instance of a variable, it's in the  Tree::XPathEngine class. This class simply holds the name of the var, for use by the engine when evaluating the query

### new

### xpath\_set\_value

### xpath\_get\_value

synonym of get\_value

### evaluate

### as\_string

dump the variable call in the XPath expression as a string

### as\_xml

dump the variable call in the XPath expression as xml
