PEAR Manual
Prev |  | Next

# XML_sql2xml::getXpathValue

XML_sql2xml::getXpathValue -- return match of a XPath expression

## Synopsis

    require_once "XML/sql2xml.php";

``mixed XML_sql2xml::getXpathValue` (string $expr)`

## Description

Returns the content of the first match of the XPath expression.

## Parameter

- `string $expr` - XPath expression

## Return value

`mixed` - content of the evaluated XPath expression

## Note

This function can not be called statically.

## See

XML_sql2xml::getXpathChildValues()

Prev | Home | Next
XML_sql2xml::setEncoding | Up | XML_sql2xml::getXpathChildValues