def gen_custom_item_windows_group(description, info, value_type, members,
  group_name):
  """
  Generates a custom item stanza for a windows group membership audit
 
  Args:
    description: string, a description of the audit
    info:        string, info about the audit
    value_type:  string, "POLICY_TEXT" -- included for parity with other 
        gen_* modules.
    members: 	 list, list of members that should be validated
    group_name:  string, name of the windows group
  
  Returns:
    list of strings, one for each line in the stanza to be outputted
  """
  members = members.split(',')
  out = []
  out.append('<custom_item>')
  out.append('  type: GROUP_MEMBERS_POLICY')
  out.append('  description: "%s"' % description.replace("\n", " "))
  out.append('  info: "%s"' % info.replace("\n", " "))
  out.append('  value_type: POLICY_TEXT')
  value_data = '"%s"' % members[0]
  if len(members) == 1 and members[0].find("||") > -1:
    members = '"%s"' % members
  elif len(members) > 1:
    for member in members[1:]:
      value_data += ' || "%s"' % member
  out.append('  value_data: %s' % value_data)
  out.append('  group_name: "%s"' % group_name)
  out.append('</custom_item>')
  out.append(' ')
  return out