An XIST module that contains a collection of useful elements that can be used for all conversion target, because they only generate text. ============================================= class ``filesize``​(``ll.xist.xsc.Element``): ============================================= The size (in bytes) of the file whose URL is the attribute href as a text node. class ``Attrs``​(``ll.xist.xsc.Attrs``): ---------------------------------------- class ``href``​(``ll.xist.xsc.URLAttr``): """"""""""""""""""""""""""""""""""""""""" def ``convert``​(``self``, ``converter``): ------------------------------------------ ============================================= class ``filetime``​(``ll.xist.xsc.Element``): ============================================= The time of the last modification of the file whose URL is in the attribute ``href`` as a text node. This will always be an UTC timestamp. class ``Attrs``​(``ll.xist.xsc.Attrs``): ---------------------------------------- class ``href``​(``ll.xist.xsc.URLAttr``): """"""""""""""""""""""""""""""""""""""""" The URL of the file. class ``format``​(``ll.xist.xsc.TextAttr``): """""""""""""""""""""""""""""""""""""""""""" A ``strftime`` compatible formatstring for formatting the timestamp. def ``convert``​(``self``, ``converter``): ------------------------------------------ ========================================= class ``time``​(``ll.xist.xsc.Element``): ========================================= the current time (i.e. the time when ``convert`` is called). You can specify the format of the string in the attribute ``format``, which is a ``strftime`` compatible string. class ``Attrs``​(``ll.xist.xsc.Attrs``): ---------------------------------------- class ``format``​(``ll.xist.xsc.TextAttr``): """""""""""""""""""""""""""""""""""""""""""" A ``strftime`` compatible formatstring for formatting the timestamp. class ``utc``​(``ll.xist.xsc.BoolAttr``): """"""""""""""""""""""""""""""""""""""""" Should UTC be used or local time? def ``convert``​(``self``, ``converter``): ------------------------------------------ =========================================== class ``ignore``​(``ll.xist.xsc.Element``): =========================================== Element that will be ignored when converted. ``ignore`` can be used to comment out stuff. The content of the element must of course still be wellformed. def ``convert``​(``self``, ``converter``): ------------------------------------------ ============================================ class ``include``​(``ll.xist.xsc.Element``): ============================================ class ``Attrs``​(``ll.xist.xsc.Attrs``): ---------------------------------------- class ``src``​(``ll.xist.xsc.URLAttr``): """""""""""""""""""""""""""""""""""""""" def ``convert``​(``self``, ``converter``): ------------------------------------------ =============================================== class ``loremipsum``​(``ll.xist.xsc.Element``): =============================================== class ``Attrs``​(``ll.xist.xsc.Attrs``): ---------------------------------------- class ``len``​(``ll.xist.xsc.IntAttr``): """""""""""""""""""""""""""""""""""""""" def ``convert``​(``self``, ``converter``): ------------------------------------------ ========================================= class ``wrap``​(``ll.xist.xsc.Element``): ========================================= A 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.jsp`` processing instructions. def ``convert``​(``self``, ``converter``): ------------------------------------------ ================================================== class ``AttrDecorator``​(``ll.xist.xsc.Element``): ================================================== def ``_mapper``​(``self``, ``node``, ``converter``): ---------------------------------------------------- def ``convert``​(``self``, ``converter``): ------------------------------------------ ============================================= class ``literal``​(``ll.xist.xsc.ProcInst``): ============================================= ``literal`` is a processing instruction that will output its content literally when published. def ``publish``​(``self``, ``publisher``): ------------------------------------------ ========================================= class ``url``​(``ll.xist.xsc.ProcInst``): ========================================= ``url`` is 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. def ``parsed``​(``self``, ``parser``, ``start``=``None``): ---------------------------------------------------------- def ``publish``​(``self``, ``publisher``): ------------------------------------------ ======================================= class ``lf``​(``ll.xist.xsc.CharRef``): ======================================= line feed ======================================= class ``cr``​(``ll.xist.xsc.CharRef``): ======================================= carriage return ======================================== class ``tab``​(``ll.xist.xsc.CharRef``): ======================================== horizontal tab ======================================== class ``esc``​(``ll.xist.xsc.CharRef``): ======================================== escape