6.14.5.4. Reference Processor

Start python section to interscript/weavers/html.py[5 /22 ] Next Prev First Last
   224: #line 248 "html_weaver.ipk"
   225:   def set_anchor(self, label):
   226:     self._write('<A NAME="#'+label+'"></A>')
   227: 
   228:   def get_anchor(self, label):
   229:     return '#'+label
   230: 
   231:   def ref_anchor(self, label):
   232:     href = self.get_anchor(label)
   233:     if href:
   234:       self._write('<A HREF="'+href+'">'+label+'</A>')
   235:     else:
   236:       self._write('<EM>Unknown Label:'+label+'</EM>')
   237: 
End python section to interscript/weavers/html.py[5]