|
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-pr' |
14 | | - 'operties'), |
15 | | - 'dc': ('http://purl.org/dc/elements/1.1/'), |
16 | | - 'dcmitype': ('http://purl.org/dc/dcmitype/'), |
17 | | - 'dcterms': ('http://purl.org/dc/terms/'), |
18 | | - 'dgm': ('http://schemas.openxmlformats.org/drawingml/2006/diagram'), |
19 | | - 'pic': ('http://schemas.openxmlformats.org/drawingml/2006/picture'), |
20 | | - 'r': ('http://schemas.openxmlformats.org/officeDocument/2006/relations' |
21 | | - 'hips'), |
22 | | - 'w': ('http://schemas.openxmlformats.org/wordprocessingml/2006/main'), |
23 | | - 'wp': ('http://schemas.openxmlformats.org/drawingml/2006/wordprocessing' |
24 | | - 'Drawing'), |
25 | | - 'xml': ('http://www.w3.org/XML/1998/namespace'), |
26 | | - '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 | + "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"), |
27 | 26 | } |
28 | 27 |
|
29 | 28 | pfxmap = dict((value, key) for key, value in nsmap.items()) |
|
0 commit comments