projects
/
treecutter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25ce3f9
)
Adding docbook namespaces again
author
Fredrik Unger
<fred@tree.se>
Fri, 26 Oct 2012 07:00:12 +0000
(09:00 +0200)
committer
Fredrik Unger
<fred@tree.se>
Fri, 26 Oct 2012 07:00:12 +0000
(09:00 +0200)
Refactoring later to move docbook xml generation to a helper class.
xinclude/address.py
patch
|
blob
|
history
diff --git
a/xinclude/address.py
b/xinclude/address.py
index 3b7ff38a3754fe945d227280d133758de70b574d..3d60b10469ec1652302504d81fb26fffeb419719 100755
(executable)
--- a/
xinclude/address.py
+++ b/
xinclude/address.py
@@
-21,6
+21,17
@@
ZOOMRANGE = range(1, 18)
# tile size
TS = 256
+DB_NS="http://docbook.org/ns/docbook"
+DB = "{%s}" % DB_NS
+XI_NS="http://www.w3.org/2001/XInclude"
+XI = "{%s}" % XI_NS
+XLINK_NS="http://www.w3.org/1999/xlink"
+XLINK = "{%s}" % XLINK_NS
+HTML_NS="http://www.w3.org/1999/xhtml"
+HTML = "{%s}" % HTML_NS
+NSMAP = {None : DB_NS,
+ 'xlink' : XLINK_NS}
+
h = Http(".cache")