Next / Previous / Contents / TCC Help System / NM Tech homepage

35.1. HeadRowLabel.html(): Render a heading row label as XHTML

cbchistlib.py
# - - -   H e a d R o w L a b e l . h t m l

    def html(self, sox, **kw):
        '''Render self as XHTML.
        '''

The emitted XHTML is a normal th element, except that we tag it with the CSS class defined in Section 13.4.10, “CLASS_HEAD_ROW_LABEL.

cbchistlib.py
        #-- 1
        sox.leaf("th", CLASS_HEAD_ROW_LABEL, self.text, kw,
                 valign='top')