Commit 5795ee99 authored by Amos Latteier's avatar Amos Latteier

Added support for x-refs.

parent 8e636c00
...@@ -267,6 +267,10 @@ class HTMLClass: ...@@ -267,6 +267,10 @@ class HTMLClass:
def sgml(self,doc,level,output): def sgml(self,doc,level,output):
for c in doc.getChildNodes(): for c in doc.getChildNodes():
getattr(self, self.element_types[c.getNodeName()])(c, level, output) getattr(self, self.element_types[c.getNodeName()])(c, level, output)
def xref(self, doc, level, output):
val = doc.getNodeValue()
output('<a href="#%s">[%s]</a>' % (val, val) )
def table(self,doc,level,output): def table(self,doc,level,output):
""" """
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment