---
schema_version: "1"
id: 157cb498f1461ee6496f67c61b16477c04649bcd79674f80751d89d495473887
title: Sample Content List XML File
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/siteforce_content_xml_sample.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.siteforce_content_xml_sample.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: c8d7e78a38f473829e9b2fe59bad5af3512bf2d3e61e18629374611e0fd1310a
description: This XML code makes up a sample XML file for importing records into a content list. In this case, the content list has two text fields called Title and Author, and a number field called Rank.
products:
  - Salesforce Platform
  - Security
release: "264"
---
# Sample Content List XML File

This XML code makes up a sample XML file for importing records into a content list. In this case, the content list has two text fields called Title and Author, and a number field called Rank.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition">
      <colgroup>
        <col>
      </colgroup>
      <tbody>
        <tr class="">
          <td class="slds-cell-wrap" style="vertical-align:top;">Available in: Salesforce Classic</td>

        </tr>
        <tr class="">
          <td class="slds-cell-wrap" style="vertical-align:top;">
            <p>Available for purchase in: <strong>Enterprise</strong>, <strong>Performance</strong>, and
              <strong>Unlimited</strong> Editions
            </p>
            <p style="margin-bottom:0;">Available (with limitations) in:
              <strong>Developer</strong> Edition
            </p>
          </td>

        </tr>
      </tbody>
    </table>

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-extend_click-264-0-0-production-enus/5f7d9219-b7b1-4552-8891-f1aba9b289fc/images/icon_note.png)

Note Content lists and categories are currently available through a pilot program. For information on enabling content lists and categories for your organization, contact Salesforce.

For more information about the required XML format, see [Content List XML Format](https://help.salesforce.com/s/articleView?id=platform.siteforce_content_xml_format.htm&release=264.0.0&type=5 "To import records into a content list in Site.com Studio, you must create an XML file that consists of these elements.").

```markup
<?xml version="1.0" encoding="UTF-8"?>
<records>
   <record>
      <field name="Title">Latest Company News</field>
      <field name="Author">Madison Rigsby</field>
      <field name="Rank">1</field>
   </record>
   <record>
      <field name="Title">Upcoming Developer Sessions</field>
      <field name="Author">Ian Thompson</field>
      <field name="Rank">2</field>
   </record>
</records>
```

![Tip](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-extend_click-264-0-0-production-enus/5f7d9219-b7b1-4552-8891-f1aba9b289fc/images/icon_tip.png)

Tip Special characters such as `<` and `&` are illegal in XML elements. To ensure any text values don’t cause a parser error, you can wrap them inside a `<![CDATA[Your text value]]>` section. For example:

```markup
<field name="Title"><![CDATA[Company News & Highlights]]></field>
```

#### See Also

- [Importing Records into Content Lists](https://help.salesforce.com/s/articleView?id=platform.siteforce_content_xml_import.htm&release=264.0.0&type=5 "Import records from existing press releases, articles, or blogs into your site’s content lists. For example, if you have a blog that’s hosted elsewhere, you can export the blog’s posts and then import the contents to use in your site.")
- [Content List Field Properties](https://help.salesforce.com/s/articleView?id=platform.siteforce_content_field_props.htm&release=264.0.0&type=5 "When adding or editing fields in a content list, use the options in the Properties pane to control how the selected field functions.")