code: def parsexml(Class, node, doc, **kwargs):#pylint: disable=bad-classmethod-argument
          
          if not kwargs: kwargs = {}
          if 'offset' in node.attrib:
              kwargs['offset'] = int(node.attrib['offset'])
          if 'ref' in node.attrib:
              kwargs['ref'] = node.attrib['ref']
          return super(PhonContent,Class).parsexml(node,doc, **kwargs)
docs: (Method for internal usage, see AbstractElement)