ODFPY: odf/namespaces.py Source File

ODFPY 1.2.0 |

All Classes Namespaces Files Functions Variables
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 TOOLSVERSION = u"ODFPY/1.2.0dev"
21
22 ANIMNS = u"urn:oasis:names:tc:opendocument:xmlns:animation:1.0"
23 CHARTNS = u"urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
24 CHARTOOONS = u"http://openoffice.org/2010/chart"
25 CONFIGNS = u"urn:oasis:names:tc:opendocument:xmlns:config:1.0"
26 CSS3TNS = u"http://www.w3.org/TR/css3-text/"
27 #DBNS = u"http://openoffice.org/2004/database"
28 DBNS = u"urn:oasis:names:tc:opendocument:xmlns:database:1.0"
29 DCNS = u"http://purl.org/dc/elements/1.1/"
30 DOMNS = u"http://www.w3.org/2001/xml-events"
31 DR3DNS = u"urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
32 DRAWNS = u"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
33 FIELDNS = u"urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
34 FONS = u"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
35 FORMNS = u"urn:oasis:names:tc:opendocument:xmlns:form:1.0"
36 FORMXNS = u"urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
37 GRDDLNS = u"http://www.w3.org/2003/g/data-view#"
38 KOFFICENS = u"http://www.koffice.org/2005/"
39 MANIFESTNS = u"urn:oasis:names:tc:opendocument:xmlns:manifest:1.0"
40 MATHNS = u"http://www.w3.org/1998/Math/MathML"
41 METANS = u"urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
42 NUMBERNS = u"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
43 OFFICENS = u"urn:oasis:names:tc:opendocument:xmlns:office:1.0"
44 OFNS = u"urn:oasis:names:tc:opendocument:xmlns:of:1.2"
45 OOOCNS = u"http://openoffice.org/2004/calc"
46 OOONS = u"http://openoffice.org/2004/office"
47 OOOWNS = u"http://openoffice.org/2004/writer"
48 PRESENTATIONNS = u"urn:oasis:names:tc:opendocument:xmlns:presentation:1.0"
49 RDFANS = u"http://docs.oasis-open.org/opendocument/meta/rdfa#"
50 RPTNS = u"http://openoffice.org/2005/report"
51 SCRIPTNS = u"urn:oasis:names:tc:opendocument:xmlns:script:1.0"
52 SMILNS = u"urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0"
53 STYLENS = u"urn:oasis:names:tc:opendocument:xmlns:style:1.0"
54 SVGNS = u"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
55 TABLENS = u"urn:oasis:names:tc:opendocument:xmlns:table:1.0"
56 TABLEOOONS = u"http://openoffice.org/2009/table"
57 TEXTNS = u"urn:oasis:names:tc:opendocument:xmlns:text:1.0"
58 XFORMSNS = u"http://www.w3.org/2002/xforms"
59 XHTMLNS = u"http://www.w3.org/1999/xhtml"
60 XLINKNS = u"http://www.w3.org/1999/xlink"
61 XMLNS = u"http://www.w3.org/XML/1998/namespace"
62 XSDNS = u"http://www.w3.org/2001/XMLSchema"
63 XSINS = u"http://www.w3.org/2001/XMLSchema-instance"
64
65 nsdict = {
66 ANIMNS: u'anim',
67 CHARTNS: u'chart',
68 CHARTOOONS: u'chartooo',
69 CONFIGNS: u'config',
70 CSS3TNS: u'css3t',
71 DBNS: u'db',
72 DCNS: u'dc',
73 DOMNS: u'dom',
74 DR3DNS: u'dr3d',
75 DRAWNS: u'draw',
76 FIELDNS: u'field',
77 FONS: u'fo',
78 FORMNS: u'form',
79 FORMXNS: u'formx',
80 GRDDLNS: u'grddl',
81 KOFFICENS: u'koffice',
82 MANIFESTNS: u'manifest',
83 MATHNS: u'math',
84 METANS: u'meta',
85 NUMBERNS: u'number',
86 OFFICENS: u'office',
87 OFNS: u'of',
88 OOONS: u'ooo',
89 OOOWNS: u'ooow',
90 OOOCNS: u'oooc',
91 PRESENTATIONNS: u'presentation',
92 RDFANS: u'rdfa',
93 RPTNS: u'rpt',
94 SCRIPTNS: u'script',
95 SMILNS: u'smil',
96 STYLENS: u'style',
97 SVGNS: u'svg',
98 TABLENS: u'table',
99 TABLEOOONS: u'tableooo',
100 TEXTNS: u'text',
101 XFORMSNS: u'xforms',
102 XLINKNS: u'xlink',
103 XHTMLNS: u'xhtml',
104 XMLNS: u'xml',
105 XSDNS: u'xsd',
106 XSINS: u'xsi',
107 }