70
edits
Changes
From Gramps
→Object instantiation
;indent
:Indent this object with respect to its parent, if parent exists. Default = True. Note that the indentation is cumulative. That is, the indentation of this object will be the sum of its indentation and that of its parent, if the parent is indented. This is useful for producing human-readable output though it should have no effect on browsers rendering the page. :Options: :;indent=True (Default)::Indent the contents of this object with respect to its parent. :;indent=False::Do not indent the contents of this object with respect to its parent:;indent=None::Reset base indentation to the beginning of the line for this object and its children. Note that child objects will continue to obey the indentation specified when they are instantiated, but since they are relative to their parent, their indentation will be relative to the beginning of the line.
;inline
:Instruct the write() method to output the tag and all its contents (including any nested elements) as one string. Default is False which means call the output method once for the beginning and ending tags and once for each element contained therein, including sub-elements.
:Options:
:;inline=False (Default)
::Do not write this object and its children as a single string.
:;inline=True
::Write this element and all its contents (including any nested elements) as one string.
;close
:This element should be closed normally (e.g. <tag>...</tag>). Default is True.
:Options:
:;close=True (default)
::Close this element normally (e.g. <tag>...</tag>)
:;close=False
::Do not close this element normally. Use "self-close" instead (e.g. <tag.../>). Note that this is automatic for all tags that are defined in the standard to be self-closing.
;keyword1=arg1...