xml.Error.Param

An xml.Error.Param class represents a parameter value used in an error message.

class xml.Error.Param(value, error_pos=None, external_url=None, location=None, deflocation=None, quotes=True, tooltip=None)

Creates a new xml.Error.Param object. The argument value must contain a string with the actual text that will be displayed in the error message. An optional error position can be specified in the error_pos argument. To disable quotes around the text, set the quotes argument to False. An optional tooltip text can be specified in the tooltip argument. Any objects represeting XML information items can be specified as location and deflocation arguments.

Special methods

__eq__, __ge__, __gt__, __le__, __lt__, __ne__