size: printing size of style
[treecutter.git] / treecutter / constants.py
index a3b4790370c8914c67e105a04a69d1cfaec95f17..49c26e64e7b4198afc5fa939b4c96d285d040d31 100644 (file)
@@ -4,6 +4,7 @@ valid_scripts = ['.py','.pl']
 PREFIXES={u'db': u'http://docbook.org/ns/docbook',
           u'xi': u'http://www.w3.org/2001/XInclude',
           u'xl': u'http://www.w3.org/1999/xlink',
+          u'xml': u'http://www.w3.org/XML/1998/namespace',
           u'html' : u'http://www.w3.org/1999/xhtml'}
 
 DB_NS="http://docbook.org/ns/docbook"
@@ -12,8 +13,17 @@ XI_NS="http://www.w3.org/2001/XInclude"
 XI = "{%s}" % XI_NS
 XLINK_NS="http://www.w3.org/1999/xlink"
 XLINK = "{%s}" % XLINK_NS
+XML_NS="http://www.w3.org/XML/1998/namespace"
+XML = "{%s}" % XML_NS
 HTML_NS="http://www.w3.org/1999/xhtml"
 HTML = "{%s}" % HTML_NS
 NSMAP = {None : DB_NS,
-         'xlink' : XLINK_NS}
-
+         'xi' : XI_NS,
+         'xlink' : XLINK_NS,
+         'xml' : XML_NS,
+         'html' : HTML_NS}
+XPATH = {'db' : DB_NS,
+         'xi' : XI_NS,
+         'xlink' : XLINK_NS,
+         'xml' : XML_NS,
+         'html' : HTML_NS}