pub fn document_structure_from_str(content: &str) -> DocumentStructure
Create a DocumentStructure from a string