pub fn str_to_python_code<'a>(
root_nodes: &'a [XmlNodeChild],
component_map: &'a ComponentMap,
) -> Result<String, CompileError>Expand description
Compile a full HTML page to a compilable Python Azul app.
ยงErrors
Returns an error if the XML cannot be parsed or compiled to Python code.