xquery.ExpressionProvider

The xquery.ExpressionProvider class is used to provide an xquery expression to the xquery.Expression.compile() function.

class xquery.ExpressionProvider(unicode text)

Class methods

classmethod xquery.ExpressionProvider.create_from_location(type cls, unicode text)

Creates an xquery.ExpressionProvider from the content of a file.

classmethod xquery.ExpressionProvider.create_from_text(type cls, unicode text)

Creates an xquery.ExpressionProvider from an xquery expression text.

Attributes

xquery.ExpressionProvider.location
xquery.ExpressionProvider.text

Special methods

__eq__, __ge__, __gt__, __le__, __lt__, __ne__