---
schema_version: "1"
id: 5deff8c213774c4c3ac45159c7c7b0a9856e33ab21f46c9446139da8a7e18937
title: Create the Atom XSL File
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ai/264-0-0/search_configure_xsl_solr_federated_search.md
canonical_url: https://help.salesforce.com/s/articleView?id=ai.search_configure_xsl_solr_federated_search.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: bef72ece5beb6fb3ed592e5a4ca4ff6beed8c15f51b9825a2c7b2aa38a7ee1d3
description: To transform the Solr default search results from JSON to XML Atom, you create an XSL file. Solr provides example files that you can customize for your server.
products:
  - Cross Cloud
release: "264"
---
# Create the Atom XSL File

To transform the Solr default search results from JSON to XML Atom, you create an XSL file. Solr provides example files that you can customize for your server.

1. Find a sample Atom XSL file from the Solr distribution at solr.6.5.1/server/solr/configsets/sample\_techproducts\_configs/xslt/example\_atom.xsl.
2. Save the file in the xslt folder that has the example xsl file.
3. In the `entry` section, edit the `name`, `features`, and `timestamp` names of the `title`, `summary`, and `updated` fields, respectively. This section transforms the search results into Atom. When changing the names, review the example XML files in the solr.6.5.1/example/exampledocs folder created when Solr was installed. Or run a search against Solr, and review the JSON search results.

![Example](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ai-search-264-0-0-production-enus/6a28c936-3b68-4186-bc09-7ab905f33ef3/images/icon_example.png)

Example

Here’s an example of an Atom XSL file.

```
 <!-- search results xslt -->
  <xsl:template match="doc">
    <xsl:variable name="id" select="str[@name='id']"/>
    <entry>
      <title><xsl:value-of select="str[@name='name']"/></title>
      <link href="http://localhost:8983/solr/select?q={$id}"/>
      <id>tag:localhost,2007:<xsl:value-of select="$id"/></id>
      <summary><xsl:value-of select="arr[@name='features']"/></summary>
      <updated><xsl:value-of select="date[@name='timestamp']"/></updated>
    </entry>
  </xsl:template>
```