def new_inline(self, _name, _obj, **attribs):
        _obj = create_POM(_obj, self.dtd)
        try:
            ilmc = getattr(self.dtd, _name)
        except __HOLE__:
            raise ValidationError("%s: not valid for this DTD." % (_name,))
        Inline = get_class(self.dtd, "Inline%s" % (_name,), (InlineMixin, ilmc))
        il = Inline(**attribs)
        il._init(self.dtd)
        if _obj:
            il.append(_obj)
        self.append(il)
        return il
dataset/ETHPy150Open kdart/pycopia/WWW/pycopia/WWW/XHTML.py/InlineMixin.new_inline