# TCCXPathSupport_Functions

#### Purpose

This module makes it possible to handle XML data throughout processing the XML data structure (tree) with in the way of handling XPath queries.

#### Module Parameters

-

#### Module depends on

-

#### Current Owner

Marton Godar (EMRTGOD)

#### Last Review Date

-

Summary

TCCXPathSupport_Functions | This module makes it possible to handle XML data throughout processing the XML data structure (tree) with in the way of handling XPath queries.
Functions |
XPathQuery | apply an XPath query on an XML document

### Functions

### XPathQuery

> external function XPathQuery (
> | in universal | charstring | xml_doc,
> | in universal | charstring | xpath_query
> ) return universal charstring

#### Purpose

apply an XPath query on an XML document

#### Parameters

xml_doc: the XML document to be processed. It is modeled by a pure TTCN-3 universal charstring and passed as an input parameter to this function

xpath_query: the XPath Query. With this technology we can access a node of the XML tree. It is passed to the function as a universal charstring

#### Return Value

universal charstring | result of the query (information about one node of the XML tree)

#### Errors

-

#### Detailed description

-

> external function XPathQuery (
> | in universal | charstring | xml_doc,
> | in universal | charstring | xpath_query
> ) return universal charstring

apply an XPath query on an XML document