beta.xquery.ExpressionProvider

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

class beta.xquery.ExpressionProvider(unicode text)

Class methods

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

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

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

Creates an beta.xquery.ExpressionProvider from an xquery expression text.

Attributes

beta.xquery.ExpressionProvider.location
beta.xquery.ExpressionProvider.text

Special methods

__eq__, __ge__, __gt__, __le__, __lt__, __ne__