form – Form related elements

This XIST module contains convenience classes for form elements. These are just abbreviations for the various <input type="..."> elements.

class ll.xist.ns.form.text(*content, **attrs)[source]

Bases: ll.xist.ns.html.input

class Attrs(*args, **kwargs)[source]

Bases: ll.xist.ns.html.Attrs

convert(converter)[source]

Implementation of the conversion method. When you define your own element classes you have to overwrite this method and implement the desired conversion.

This method must return an instance of Node. It may not change self.

class ll.xist.ns.form.checkbox(*content, **attrs)[source]

Bases: ll.xist.ns.html.input

class Attrs(*args, **kwargs)[source]

Bases: ll.xist.ns.html.Attrs

convert(converter)[source]

Implementation of the conversion method. When you define your own element classes you have to overwrite this method and implement the desired conversion.

This method must return an instance of Node. It may not change self.

class ll.xist.ns.form.radio(*content, **attrs)[source]

Bases: ll.xist.ns.html.input

class Attrs(*args, **kwargs)[source]

Bases: ll.xist.ns.html.Attrs

convert(converter)[source]

Implementation of the conversion method. When you define your own element classes you have to overwrite this method and implement the desired conversion.

This method must return an instance of Node. It may not change self.

class ll.xist.ns.form.file(*content, **attrs)[source]

Bases: ll.xist.ns.html.input

class Attrs(*args, **kwargs)[source]

Bases: ll.xist.ns.html.Attrs

convert(converter)[source]

Implementation of the conversion method. When you define your own element classes you have to overwrite this method and implement the desired conversion.

This method must return an instance of Node. It may not change self.

class ll.xist.ns.form.submit(*content, **attrs)[source]

Bases: ll.xist.ns.html.input

class Attrs(*args, **kwargs)[source]

Bases: ll.xist.ns.html.Attrs

convert(converter)[source]

Implementation of the conversion method. When you define your own element classes you have to overwrite this method and implement the desired conversion.

This method must return an instance of Node. It may not change self.

class ll.xist.ns.form.button(*content, **attrs)[source]

Bases: ll.xist.ns.html.input

class Attrs(*args, **kwargs)[source]

Bases: ll.xist.ns.html.Attrs

convert(converter)[source]

Implementation of the conversion method. When you define your own element classes you have to overwrite this method and implement the desired conversion.

This method must return an instance of Node. It may not change self.

class ll.xist.ns.form.textarea(*content, **attrs)[source]

Bases: ll.xist.ns.html.textarea

class Attrs(*args, **kwargs)[source]

Bases: ll.xist.ns.html.Attrs

class value(*content)[source]

Bases: ll.xist.xsc.TextAttr

convert(converter)[source]

Implementation of the conversion method. When you define your own element classes you have to overwrite this method and implement the desired conversion.

This method must return an instance of Node. It may not change self.

class ll.xist.ns.form.hidden(*content, **attrs)[source]

Bases: ll.xist.ns.html.input

class Attrs(*args, **kwargs)[source]

Bases: ll.xist.ns.html.Attrs

convert(converter)[source]

Implementation of the conversion method. When you define your own element classes you have to overwrite this method and implement the desired conversion.

This method must return an instance of Node. It may not change self.