CenterForOpenScience / pydocx

An extendable docx file format parser and converter
Other
186 stars 55 forks source link

Stop stripping namespaces from XML #175

Open kylegibson opened 9 years ago

kylegibson commented 9 years ago

Namespaces are important because there are tags in different namespaces that have the same tag name. Instead, each tag class (e.g. openxml.wordprocessing.Paragraph) should define its namespace and the parser should be updated to match only against the namespace + tag name.