# Sitemap.xsl not processable

**URL:** <https://discourse.gohugo.io/t/sitemap-xsl-not-processable/32674>\
**Category:** support\
**Created:** [May 2, 2021, 11:46pm UTC](https://discourse.gohugo.io/t/sitemap-xsl-not-processable/32674 "2021-05-02T23:46:57Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![M4rt1n](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/m4rt1n/32/14245_2.png) [@M4rt1n](https://discourse.gohugo.io/u/M4rt1n)\
**Post date:** [May 3, 2021, 2:21am UTC](https://discourse.gohugo.io/t/sitemap-xsl-not-processable/32674/4 "2021-05-03T02:21:31Z")

</div>

Thank you both!  
I tried it like this:

**`config.toml`**

```auto
[outputs]
    home = ["HTML", "sitemapxsl"]

[outputFormats]
[outputFormats.sitemapxsl]
    baseName = "sitemap"
    mediaType = "text/plain"

[mediaTypes]
    [mediaTypes."application/xslt+xml"]
        suffixes = "xsl"

```

```auto
layouts/
└── index.sitemapxsl.xsl

```

But I anyway get the error/warning:

```auto
WARN 2021/05/03 04:17:18 found no layout file for "sitemapxsl" for layout "main" for kind "home": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.

```

Isnt the `index.sitemapxsl.xsl` the right file with the right name in the right folder here?  
How to exactly call that file from my layout “main”?  
The link describes it as:

> [@.htaccess, humans.txt with template logic](https://discourse.gohugo.io/t/htaccess-humans-txt-with-template-logic/27624/1):
>
> Then we define layouts.
> 
> ```auto
> // layouts/index.humanstxt.txt
> // layouts/index.htaccess
> {{ site.BaseURL }}
> 
> ```

But I somehow cant manage to make it work

---

_[View the full topic](https://discourse.gohugo.io/t/sitemap-xsl-not-processable/32674)._
