|
8 | 8 |
|
9 | 9 |
|
10 | 10 | nsmap = { |
11 | | - "a": ("http://schemas.openxmlformats.org/drawingml/2006/main"), |
12 | | - "c": ("http://schemas.openxmlformats.org/drawingml/2006/chart"), |
13 | | - "cp": ("http://schemas.openxmlformats.org/package/2006/metadata/core-properties"), |
14 | | - "dc": ("http://purl.org/dc/elements/1.1/"), |
15 | | - "dcmitype": ("http://purl.org/dc/dcmitype/"), |
16 | | - "dcterms": ("http://purl.org/dc/terms/"), |
17 | | - "dgm": ("http://schemas.openxmlformats.org/drawingml/2006/diagram"), |
18 | | - "m": ("http://schemas.openxmlformats.org/officeDocument/2006/math"), |
19 | | - "pic": ("http://schemas.openxmlformats.org/drawingml/2006/picture"), |
20 | | - "r": ("http://schemas.openxmlformats.org/officeDocument/2006/relationships"), |
21 | | - "sl": ("http://schemas.openxmlformats.org/schemaLibrary/2006/main"), |
22 | | - "w": ("http://schemas.openxmlformats.org/wordprocessingml/2006/main"), |
23 | | - "wp": ("http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing"), |
24 | | - "xml": ("http://www.w3.org/XML/1998/namespace"), |
25 | | - "xsi": ("http://www.w3.org/2001/XMLSchema-instance"), |
| 11 | + "a": "http://schemas.openxmlformats.org/drawingml/2006/main", |
| 12 | + "c": "http://schemas.openxmlformats.org/drawingml/2006/chart", |
| 13 | + "cp": "http://schemas.openxmlformats.org/package/2006/metadata/core-properties", |
| 14 | + "dc": "http://purl.org/dc/elements/1.1/", |
| 15 | + "dcmitype": "http://purl.org/dc/dcmitype/", |
| 16 | + "dcterms": "http://purl.org/dc/terms/", |
| 17 | + "dgm": "http://schemas.openxmlformats.org/drawingml/2006/diagram", |
| 18 | + "m": "http://schemas.openxmlformats.org/officeDocument/2006/math", |
| 19 | + "pic": "http://schemas.openxmlformats.org/drawingml/2006/picture", |
| 20 | + "r": "http://schemas.openxmlformats.org/officeDocument/2006/relationships", |
| 21 | + "sl": "http://schemas.openxmlformats.org/schemaLibrary/2006/main", |
| 22 | + "w": "http://schemas.openxmlformats.org/wordprocessingml/2006/main", |
| 23 | + 'w14': "http://schemas.microsoft.com/office/word/2010/wordml", |
| 24 | + "wp": "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing", |
| 25 | + "xml": "http://www.w3.org/XML/1998/namespace", |
| 26 | + "xsi": "http://www.w3.org/2001/XMLSchema-instance", |
26 | 27 | } |
27 | 28 |
|
28 | 29 | pfxmap = dict((value, key) for key, value in nsmap.items()) |
|
0 commit comments