PEAR Manual
Prev |  | Next

# XML_sql2xml::getXpathChildValues

XML_sql2xml::getXpathChildValues -- return child tags from match of a XPath expression

## Synopsis

    require_once "XML/sql2xml.php";

``array XML_sql2xml::getXpathChildValues` (string $expr)`

## Description

Returns the values from the child tags from the first match of the XPath.

## Parameter

- `string $expr` - XPath expression

## Return value

`array` - the content of the child tags. The child tag name is assigned as key, the content as value.

## Note

This function can not be called statically.

## See

XML_sql2xml::getXpathValue()

Prev | Home | Next
XML_sql2xml::getXpathValue | Up | XML_Statistics