Reimplemented the SP output formatters to hopefully work better and faster.
[wrw.git] / wrw / sp / cons.py
index ff6a1b1..bc9bfa2 100644 (file)
@@ -77,3 +77,9 @@ class constructor(object):
 
     def __getattr__(self, name):
         return self._elcls(self._ns, name, self._ctx)
+
+class doctype(node):
+    def __init__(self, rootname, pubid, dtdid):
+        self.rootname = rootname
+        self.pubid = pubid
+        self.dtdid = dtdid