# Export to XML?

**URL:** https://community.mp3tag.de/t/export-to-xml/481
**Category:** Support
**Created:** [September 15, 2003, 11:23pm UTC](https://community.mp3tag.de/t/export-to-xml/481 "2003-09-15T23:23:14Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![beaker](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/ecb155/32.png) [@beaker](https://community.mp3tag.de/u/beaker)
#### Post date: [September 15, 2003, 11:23pm UTC](https://community.mp3tag.de/t/export-to-xml/481/1 "2003-09-15T23:23:14Z")

</div>

I'm sure there's a way to do it, but I'm having a tough time without an English help file.

I was hoping to be able to do a report like this:

```
  <artist>Cure</artist>
  <title>Pornography</title>
  <year>1982</year>
  <genre>Gothic</genre>
  <track id=01>One Hundred Years</track>
  <track id=02>A Short Term Effect</track>
  <track id=03>The Hanging Garden</track>
  <track id=04>Siamese Twins</track>
  <track id=05>The Figurehead</track>
  <track id=06>A Strange Day</track>
  <track id=07>Cold</track>
  <track id=08>Pornography</track>

```

Is this possible?

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [September 16, 2003, 7:24am UTC](https://community.mp3tag.de/t/export-to-xml/481/2 "2003-09-16T07:24:51Z")

</div>

Yes, this is possible. Simply create a new export configuration at _Options, Export_ and enter the following text.

```
[EXPORTHEADER]
HEADERLINE01=<album id=%k>
HEADERLINE02= <artist>%i</artist>
HEADERLINE03= <title>%a</title>
HEADERLINE04= <year>%j</year>
HEADERLINE05= <genre>%g</genre>

[EXPORTRECORD]
RECORDLINE01= <track id=%n>%t</track>

[EXPORTFOOTER]
FOOTERLINE01=</album>

[EXPORTSORT]
SORT=9

[EXPORTEXTENSION]
EXTENSION=xml

```

Please also make sure, that you the option _No double data records_ is enabled.

This solution assumes that the _Album ID_ is stored in the comment field. If you are interested in a english overview of all placeholders available for the export, please have a look at [this topic](http://www.hydrogenaudio.org/index.php?showtopic=12742&view=findpost&p=129631) at the Hydogenaudio Forums.

Hope that helps!

With best regards,  
~ Florian

---

<div class="post-metadata">

### Author: ![beaker](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/ecb155/32.png) [@beaker](https://community.mp3tag.de/u/beaker)
#### Post date: [September 16, 2003, 9:18pm UTC](https://community.mp3tag.de/t/export-to-xml/481/3 "2003-09-16T21:18:09Z")

</div>

Thank you for the response florian. When I try it, I get the following error:

File "C:Documents and SettingsbeakerApplication DataMp3tagexportxml.mte" could not be opened.

Have I done something wrong?

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [September 16, 2003, 9:23pm UTC](https://community.mp3tag.de/t/export-to-xml/481/4 "2003-09-16T21:23:49Z")

</div>

It seems, that Mp3tag has some problems with trailing spaces at the lines of export configuations, so I've sent you an email with the mte-file attached.

Simply copy the content of the file to the configuration at _Options, Export_.

With best regards,  
~ Florian

---

<div class="post-metadata">

### Author: ![beaker](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/ecb155/32.png) [@beaker](https://community.mp3tag.de/u/beaker)
#### Post date: [September 16, 2003, 10:22pm UTC](https://community.mp3tag.de/t/export-to-xml/481/5 "2003-09-16T22:22:53Z")

</div>

Thanks again florian. Email received.

The only change I had to make was to quotation marks around the value of the id eg:

Great application!

---

<div class="post-metadata">

### Author: ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)
#### Post date: [February 9, 2026, 12:19pm UTC](https://community.mp3tag.de/t/export-to-xml/481/6 "2026-02-09T12:19:09Z")

</div>


