Logo Search packages:      
Sourcecode: ocrfeeder version File versions  Download package

def odf::odf2xhtml::ODF2XHTML::opentag (   self,
  tag,
  attrs = {} 
)

Create an open HTML tag 

Definition at line 418 of file odf2xhtml.py.

00418                                  {}):
        """ Create an open HTML tag """
        a = []
        for key,val in attrs.items():
            a.append('''%s=%s''' % (key, quoteattr(val)))
        if len(a) == 0:
            self.writeout("<%s>" % tag)
        else:
            self.writeout("<%s %s>" % (tag, " ".join(a)))


Generated by  Doxygen 1.6.0   Back to index