Parser.render_xml()
Finish parsing (if needed) and render as XML.
Usage
Parser.render_xml(
*,
sourcepos=False,
)Parameters
sourcepos: bool = False-
Include
sourceposattributes. DefaultFalse.
Returns
str- The rendered XML string.
Finish parsing (if needed) and render as XML.
Usage
sourcepos: bool = Falsesourcepos attributes. Default False.
str