code: def gen_xml_doc(self):
          
          res = self.make_doc()
          var_tag = """
          <text:user-field-decl office:value-type="string"
          office:string-value="%s" text:name="py3o.%s"/>"""
          text_tag = """<text:p text:style-name="P1">
              <text:user-field-get text:name="py3o.%s">%s</text:user-field-get>
          </text:p>
          """
          keys = res.keys()
          keys.sort()
          texts = ""
          vars = ""
          for key in keys:
              value = res[key]
              vars += var_tag % (value, key)
              texts += text_tag % (key, value)
          return CONTENT_TMPL % (vars, texts)
docs: Generate the text tags that should be inserted in the content.xml of a
          full model