htmlspecials – Elements for HTML generation
An XIST module that contains a collection of useful elements for generating HTML.
- class ll.xist.ns.htmlspecials.html[source]
Bases:
htmlCreates an
ll.xist.ns.html.htmlelement and automatically sets thelangandxml:langattributes to theconverters configured language.
- class ll.xist.ns.htmlspecials.plaintable[source]
Bases:
tablea HTML table where the values of the attributes
cellpadding,cellspacingandborderdefault to0.
- class ll.xist.ns.htmlspecials.plainbody[source]
Bases:
bodya HTML body where the attributes
leftmargin,topmargin,marginheightandmarginwidthdefault to0.
- class ll.xist.ns.htmlspecials.pixel[source]
Bases:
_pixelbaseElement for single transparent pixel image.
You can specify the pixel color via the
colorattribute (which will set the background-color in the style attribute).In addition to that you can specify width and height attributes (and every other allowed attribute for the
imgelement) as usual.
- class ll.xist.ns.htmlspecials.autoimg[source]
Bases:
imgAn image were width and height attributes are automatically generated.
If the attributes are already there, they won’t be modified.
- class ll.xist.ns.htmlspecials.autopixel[source]
Bases:
_pixelbaseA pixel image were width and height attributes are automatically generated.
This works like
pixelbut the size is “inherited” from the image specified via thesrcattribute.
- class ll.xist.ns.htmlspecials.autoinput[source]
Bases:
inputExtends
ll.xist.ns.html.inputwith the ability to automatically set the size, if this element hastype=="image".