xml – Global attributes from the XML namespace

Contains the global attributes for the XML namespace (like xml:lang), and classes for the XML declaration.

class ll.xist.ns.xml.XML(version='1.0', encoding='utf-8', standalone=None)[source]

Bases: ll.xist.xsc.ProcInst

XML declaration. The encoding will be automatically set when publishing.

class ll.xist.ns.xml.XMLStyleSheet(*content)[source]

Bases: ll.xist.xsc.ProcInst

XML stylesheet declaration.

class ll.xist.ns.xml.declaration(*content, **attrs)[source]

Bases: ll.xist.xsc.Element

The XML declaration as an element. This makes it possible to generate a declaration from within an XML file.