ODFPY  1.2.0
namespaces.py
Go to the documentation of this file.
1 # -*- coding: utf-8 -*-
2 # Copyright (C) 2006-2013 Søren Roug, European Environment Agency
3 #
4 # This library is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU Lesser General Public
6 # License as published by the Free Software Foundation; either
7 # version 2.1 of the License, or (at your option) any later version.
8 #
9 # This library is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 # Lesser General Public License for more details.
13 #
14 # You should have received a copy of the GNU Lesser General Public
15 # License along with this library; if not, write to the Free Software
16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17 #
18 # Contributor(s):
19 #
20 __version__ = "1.3.6"
21 
22 TOOLSVERSION = u"ODFPY/" + __version__
23 
24 ANIMNS = u"urn:oasis:names:tc:opendocument:xmlns:animation:1.0"
25 CHARTNS = u"urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
26 CHARTOOONS = u"http://openoffice.org/2010/chart"
27 CONFIGNS = u"urn:oasis:names:tc:opendocument:xmlns:config:1.0"
28 CSS3TNS = u"http://www.w3.org/TR/css3-text/"
29 #DBNS = u"http://openoffice.org/2004/database"
30 DBNS = u"urn:oasis:names:tc:opendocument:xmlns:database:1.0"
31 DCNS = u"http://purl.org/dc/elements/1.1/"
32 DOMNS = u"http://www.w3.org/2001/xml-events"
33 DR3DNS = u"urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
34 DRAWNS = u"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
35 FIELDNS = u"urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
36 FONS = u"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
37 FORMNS = u"urn:oasis:names:tc:opendocument:xmlns:form:1.0"
38 FORMXNS = u"urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
39 GRDDLNS = u"http://www.w3.org/2003/g/data-view#"
40 KOFFICENS = u"http://www.koffice.org/2005/"
41 LOEXTNS = u"urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
42 MANIFESTNS = u"urn:oasis:names:tc:opendocument:xmlns:manifest:1.0"
43 MATHNS = u"http://www.w3.org/1998/Math/MathML"
44 METANS = u"urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
45 NUMBERNS = u"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
46 OFFICENS = u"urn:oasis:names:tc:opendocument:xmlns:office:1.0"
47 OFNS = u"urn:oasis:names:tc:opendocument:xmlns:of:1.2"
48 OOOCNS = u"http://openoffice.org/2004/calc"
49 OOONS = u"http://openoffice.org/2004/office"
50 OOOWNS = u"http://openoffice.org/2004/writer"
51 PRESENTATIONNS = u"urn:oasis:names:tc:opendocument:xmlns:presentation:1.0"
52 RDFANS = u"http://docs.oasis-open.org/opendocument/meta/rdfa#"
53 RPTNS = u"http://openoffice.org/2005/report"
54 SCRIPTNS = u"urn:oasis:names:tc:opendocument:xmlns:script:1.0"
55 SMILNS = u"urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0"
56 STYLENS = u"urn:oasis:names:tc:opendocument:xmlns:style:1.0"
57 SVGNS = u"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
58 TABLENS = u"urn:oasis:names:tc:opendocument:xmlns:table:1.0"
59 TABLEOOONS = u"http://openoffice.org/2009/table"
60 TEXTNS = u"urn:oasis:names:tc:opendocument:xmlns:text:1.0"
61 XFORMSNS = u"http://www.w3.org/2002/xforms"
62 XHTMLNS = u"http://www.w3.org/1999/xhtml"
63 XLINKNS = u"http://www.w3.org/1999/xlink"
64 XMLNS = u"http://www.w3.org/XML/1998/namespace"
65 XSDNS = u"http://www.w3.org/2001/XMLSchema"
66 XSINS = u"http://www.w3.org/2001/XMLSchema-instance"
67 
68 nsdict = {
69  ANIMNS: u'anim',
70  CHARTNS: u'chart',
71  CHARTOOONS: u'chartooo',
72  CONFIGNS: u'config',
73  CSS3TNS: u'css3t',
74  DBNS: u'db',
75  DCNS: u'dc',
76  DOMNS: u'dom',
77  DR3DNS: u'dr3d',
78  DRAWNS: u'draw',
79  FIELDNS: u'field',
80  FONS: u'fo',
81  FORMNS: u'form',
82  FORMXNS: u'formx',
83  GRDDLNS: u'grddl',
84  KOFFICENS: u'koffice',
85  MANIFESTNS: u'manifest',
86  MATHNS: u'math',
87  METANS: u'meta',
88  NUMBERNS: u'number',
89  OFFICENS: u'office',
90  OFNS: u'of',
91  OOONS: u'ooo',
92  OOOWNS: u'ooow',
93  OOOCNS: u'oooc',
94  PRESENTATIONNS: u'presentation',
95  RDFANS: u'rdfa',
96  RPTNS: u'rpt',
97  SCRIPTNS: u'script',
98  SMILNS: u'smil',
99  STYLENS: u'style',
100  SVGNS: u'svg',
101  TABLENS: u'table',
102  TABLEOOONS: u'tableooo',
103  TEXTNS: u'text',
104  XFORMSNS: u'xforms',
105  XLINKNS: u'xlink',
106  XHTMLNS: u'xhtml',
107  XMLNS: u'xml',
108  XSDNS: u'xsd',
109  XSINS: u'xsi',
110 }