code: def encode(self, node, content):
          
          if content.type.any():
              return
          if not content.real.extension():
              return
          if content.type.resolve() == content.real:
              return
          ns = None
          name = content.real.name
          if self.xstq:
              ns = content.real.namespace("ns1")
          Typer.manual(node, name, ns)
docs: Add (SOAP) encoding information if needed.
  
          The encoding information is added only if the resolved type is derived
          by extension. Furthermore, the xsi:type value is qualified by namespace
          only if the content (tag) and referenced type are in different
          namespaces.