From 0c47a825bae96f0737f6d81a78b2138ababce646 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 1 Dec 2013 12:22:12 +0000 Subject: Add parsing for numbering.xml --- mammoth/docx/xmlparser.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mammoth/docx/xmlparser.py') diff --git a/mammoth/docx/xmlparser.py b/mammoth/docx/xmlparser.py index d58ea75..efeafcf 100644 --- a/mammoth/docx/xmlparser.py +++ b/mammoth/docx/xmlparser.py @@ -9,6 +9,9 @@ class XmlElement(XmlElementBase): if child.name == name: return child return _null_xml_element + + def find_children(self, name): + return filter(lambda child: child.name == name, self.children) class NullXmlElement(object): -- cgit v1.2.3