'This method is called at the start of an anchor region.
The arguments correspond to the attributes of the <A> tag with
the same names.  The default implementation maintains a list of
hyperlinks (defined by the HREF attribute for <A> tags) within
the document.  The list of hyperlinks is available as the data
attribute anchorlist.'

def anchor_bgn(self, href, name, type):

    self.anchor = href
    if self.anchor:
        self.anchorlist.append(href)
