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.4"
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 MANIFESTNS = u"urn:oasis:names:tc:opendocument:xmlns:manifest:1.0"
42 MATHNS = u"http://www.w3.org/1998/Math/MathML"
43 METANS = u"urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
44 NUMBERNS = u"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
45 OFFICENS = u"urn:oasis:names:tc:opendocument:xmlns:office:1.0"
46 OFNS = u"urn:oasis:names:tc:opendocument:xmlns:of:1.2"
47 OOOCNS = u"http://openoffice.org/2004/calc"
48 OOONS = u"http://openoffice.org/2004/office"
49 OOOWNS = u"http://openoffice.org/2004/writer"
50 PRESENTATIONNS = u"urn:oasis:names:tc:opendocument:xmlns:presentation:1.0"
51 RDFANS = u"http://docs.oasis-open.org/opendocument/meta/rdfa#"
52 RPTNS = u"http://openoffice.org/2005/report"
53 SCRIPTNS = u"urn:oasis:names:tc:opendocument:xmlns:script:1.0"
54 SMILNS = u"urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0"
55 STYLENS = u"urn:oasis:names:tc:opendocument:xmlns:style:1.0"
56 SVGNS = u"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
57 TABLENS = u"urn:oasis:names:tc:opendocument:xmlns:table:1.0"
58 TABLEOOONS = u"http://openoffice.org/2009/table"
59 TEXTNS = u"urn:oasis:names:tc:opendocument:xmlns:text:1.0"
60 XFORMSNS = u"http://www.w3.org/2002/xforms"
61 XHTMLNS = u"http://www.w3.org/1999/xhtml"
62 XLINKNS = u"http://www.w3.org/1999/xlink"
63 XMLNS = u"http://www.w3.org/XML/1998/namespace"
64 XSDNS = u"http://www.w3.org/2001/XMLSchema"
65 XSINS = u"http://www.w3.org/2001/XMLSchema-instance"
66 
67 nsdict = {
68  ANIMNS: u'anim',
69  CHARTNS: u'chart',
70  CHARTOOONS: u'chartooo',
71  CONFIGNS: u'config',
72  CSS3TNS: u'css3t',
73  DBNS: u'db',
74  DCNS: u'dc',
75  DOMNS: u'dom',
76  DR3DNS: u'dr3d',
77  DRAWNS: u'draw',
78  FIELDNS: u'field',
79  FONS: u'fo',
80  FORMNS: u'form',
81  FORMXNS: u'formx',
82  GRDDLNS: u'grddl',
83  KOFFICENS: u'koffice',
84  MANIFESTNS: u'manifest',
85  MATHNS: u'math',
86  METANS: u'meta',
87  NUMBERNS: u'number',
88  OFFICENS: u'office',
89  OFNS: u'of',
90  OOONS: u'ooo',
91  OOOWNS: u'ooow',
92  OOOCNS: u'oooc',
93  PRESENTATIONNS: u'presentation',
94  RDFANS: u'rdfa',
95  RPTNS: u'rpt',
96  SCRIPTNS: u'script',
97  SMILNS: u'smil',
98  STYLENS: u'style',
99  SVGNS: u'svg',
100  TABLENS: u'table',
101  TABLEOOONS: u'tableooo',
102  TEXTNS: u'text',
103  XFORMSNS: u'xforms',
104  XLINKNS: u'xlink',
105  XHTMLNS: u'xhtml',
106  XMLNS: u'xml',
107  XSDNS: u'xsd',
108  XSINS: u'xsi',
109 }