DOMDocument.CreateXPathExpression

Syntax:

CreateXPathExpression(<Expression>, <NamespaceDereferencing>)

Parameters:

<Expression> (required)

Type: String.
String defining XPath expression.

<NamespaceDereferencing> (required)

Type: DOMNamespaceResolver.
Object for allowing namespaces in XPath expression.

Returned value:

Type: XPathExpression.

Description:

Creation of XPath expression.

Availability:

Server, thick client, external connection, Mobile application (server).

Note:

If expression contains errors, an exception will be called.

    

1C:Enterprise Developer's Community