specials – Common useful elements
An XIST module that contains a collection of useful elements that can be used for all conversion targets, because they only generate text.
- class ll.xist.ns.specials.filesize[source]
Bases:
ll.xist.xsc.ElementThe size (in bytes) of the file whose URL is the attribute href as a text node.
- class ll.xist.ns.specials.filetime[source]
Bases:
ll.xist.xsc.ElementThe time of the last modification of the file whose URL is in the attribute
hrefas a text node. This will always be an UTC timestamp.
- class ll.xist.ns.specials.time[source]
Bases:
ll.xist.xsc.Elementthe current time (i.e. the time when
convert()is called). You can specify the format of the string in the attributeformat, which is astrftime()compatible string.
- class ll.xist.ns.specials.ignore[source]
Bases:
ll.xist.xsc.ElementElement that will be ignored when converted.
ignorecan be used to comment out stuff. The content of the element must of course still be wellformed.
- class ll.xist.ns.specials.wrap[source]
Bases:
ll.xist.xsc.ElementA wrapper element that returns its content when converted.
This is e.g. useful if you want to parse a file that starts with
ll.xist.ns.jspprocessing instructions.
- class ll.xist.ns.specials.literal[source]
Bases:
ll.xist.xsc.ProcInstliteralis a processing instruction that will output its content literally when published.
- class ll.xist.ns.specials.url[source]
Bases:
ll.xist.xsc.ProcInsturlis a processing instruction containing an URL. On publishing it will be replaced by an URL that is relative to the base URL of the publisher.
- class ll.xist.ns.specials.lf[source]
Bases:
ll.xist.xsc.CharRefline feed
- class ll.xist.ns.specials.cr[source]
Bases:
ll.xist.xsc.CharRefcarriage return
- class ll.xist.ns.specials.tab[source]
Bases:
ll.xist.xsc.CharRefhorizontal tab
- class ll.xist.ns.specials.esc[source]
Bases:
ll.xist.xsc.CharRefescape