code: def _convert_retention_policy_to_xml(retention_policy, root):
      '''
      <Enabled>true|false</Enabled>
      <Days>number-of-days</Days>
      '''
      # Enabled
      ETree.SubElement(root, 'Enabled').text = str(retention_policy.enabled)
  
      # Days
      if retention_policy.enabled and retention_policy.days:
          ETree.SubElement(root, 'Days').text = str(retention_policy.daysf _convert_retention_policy_to_xml(retention_policy, root):
      '''
      <Enabled>true|false</Enabled>
      <Days>number-of-days</Days>
      '''
      # Enabled
      ETree.SubElement(root, 'Enabled').text = str(retention_policy.enabled)
  
      # Days
      if retention_policy.enabled and retention_policy.days:
          ETree.SubElement(root, 'Days').text = str(retention_policy.days)
docs: <Enabled>true|false</Enabled>
      <Days>number-of-days</Days>