> For the complete documentation index, see [llms.txt](https://support.iafcertsearch.org/accreditation-bodies/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.iafcertsearch.org/accreditation-bodies/ab-zh/data-management/import-certification-body/certification-body-templates/manage-data-in-xml.md).

# 在XML中管理数据

### 从XML文件导入认证机构数据 <a href="#adding-certification-data-from-excel-file" id="adding-certification-data-from-excel-file"></a>

{% hint style="info" %}
\*\*注意：\*\*通过XML添加认证机构建议用于批量数据导入。如果您想要更新单个记录或记录不超过10个证书，我们建议您使用手动数据输入。\
\
**先决条件：**

* 根据IAF CertSearch数据结构清洁和格式化数据。
  {% endhint %}

**更新认证机构的Excel方式**

1. 在认证机构的Excel xml文件中，将数据输入到相应的字段中。

<details>

<summary>CB Data XML字段</summary>

```
<?xml version="1.0" encoding="UTF-8"?>
<ab_cbs>
	<certification_body>
		<certification_body_identity_number></certification_body_identity_number>
		<certification_body_name></certification_body_name>
		<certification_body_acronym></certification_body_acronym>
		<website></website>
		<key_contact></key_contact>
		<email_address></email_address>
		<phone></phone>
		<fax></fax>
		<country></country>
		<description></description>
        <accreditation_status></accreditation_status>
		<office_directories>
			<office_directory>	
				<office_type></office_type>
				<street></street>
				<city></city>
				<state></state>
				<country></country>
				<zip_code></zip_code>
			</office_directory>
		</office_directories>
		<standard_and_schemes>
			<standard_and_scheme>
				<scope_type></scope_type>
				<scheme_name></scheme_name>
				<standard_code></standard_code>
				<first_issue_date></first_issue_date>
				<issue_date></issue_date>
				<expiry_date></expiry_date>
                <standard_status></standard_status>
			</standard_and_scheme>
		</standard_and_schemes>
		<technical_sectors>
			<technical_sector>
				<scope_type></scope_type>
				<scheme_name></scheme_name>
				<sector_title></sector_title>
				<sector_code></sector_code>
				<all_sectors></all_sectors>
			</technical_sector>
		</technical_sectors>
		<certification_body_countries>
			<certification_body_country>
				<country></country>
			</certification_body_country>
		</certification_body_countries>
	</certification_body>
</ab_cbs>

```

</details>

\*\*技巧：\*\*确保认证机构身份号码和认证机构名称与现有的认证机构记录匹配。

2. 完成后，转到IAF CertSearch数据导入页面
3. 选择您想要导入数据的方式
   1. **文件上传** - [了解如何通过文件上传导入数据](https://app.gitbook.com/s/tS6z5hiHjMyFZFqdXIJ0/iaf-certsearch-data-structure/data-import-methods/file-upload)​
   2. **FTP** [了解如何通过FTP导入数据](https://app.gitbook.com/s/tS6z5hiHjMyFZFqdXIJ0/iaf-certsearch-data-structure/data-import-methods/ftp)​
4. 选择后，点击**继续**按钮（系统将启动文件和数据处理）
5. 如果所有文件和数据有效，则证书将成功添加到现有认证实体记录中。
