block(s, *p, **kw)
This function starts a
block element, and
sox.Elt token that you must use later
to write the end tag. Between these operations you will
generate the content of the block.
For a discussion of how positional and keyword arguments work
in this function, refer to
also the reference documentation for
sox.py: Sequential Output of XML
for Python. The idea is to allow a number of
different kinds of arguments that give you easy ways to
generate elements, attributes, and content.
String-type positional arguments are added as text content
Positional arguments of type
passed through the
(described in Section 5.1, “Dashing from
camelCase”) to convert
camel-case keys to their XSL-FO equivalents.
For each keyword argument, the name is also de-camel-cased and becomes an XSL-FO attribute.