Adding the lxml docbook namespaces.
[treecutter.git] / treecutter / constants.py
1 #!/usr/bin/python
2 valid_scripts = ['.py','.pl']
3
4 PREFIXES={u'db': u'http://docbook.org/ns/docbook',
5           u'xi': u'http://www.w3.org/2001/XInclude',
6           u'xl': u'http://www.w3.org/1999/xlink',
7           u'html' : u'http://www.w3.org/1999/xhtml'}
8
9 DB_NS="http://docbook.org/ns/docbook"
10 DB = "{%s}" % DB_NS
11 XI_NS="http://www.w3.org/2001/XInclude"
12 XI = "{%s}" % XI_NS
13 XLINK_NS="http://www.w3.org/1999/xlink"
14 XLINK = "{%s}" % XLINK_NS
15 HTML_NS="http://www.w3.org/1999/xhtml"
16 HTML = "{%s}" % HTML_NS
17 NSMAP = {None : DB_NS,
18          'xlink' : XLINK_NS}
19