# How to parse embedded extended tags

**URL:** https://community.mp3tag.de/t/how-to-parse-embedded-extended-tags/64553
**Category:** Support
**Created:** [April 29, 2024, 8:32pm UTC](https://community.mp3tag.de/t/how-to-parse-embedded-extended-tags/64553 "2024-04-29T20:32:55Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Leprechaun](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/dbc845/32.png) [@Leprechaun](https://community.mp3tag.de/u/Leprechaun)
#### Post date: [April 29, 2024, 8:32pm UTC](https://community.mp3tag.de/t/how-to-parse-embedded-extended-tags/64553/1 "2024-04-29T20:32:55Z")

</div>

Thanks to the folks in this forum – whose names I can't recall, except for Florian and ohrenkino – I have happily exported tags into CVS files. However, I've recently hit a snag that I am unable to handle: several tags that are embedded in a tag. I am cataloging my audiobooks and some of them have time markers that I want to identify, e.g.:

| LENGTH | 000003897457 |
| --- | --- |
| OVERDRIVE MEDIAMARKERS | `Markers><Marker><Name>Opening</Name><Time>0:00.000</Time></Marker><Mark` |
| PUBLISHER | Hachette Audio |

My latest attempt to parse:

```auto
$filename(csv,utf-16)Filename$char(9)
$loop(%_filename_ext%)%_filename_ext%$char(9)%overdrive mediamarkers%$char(9)%Markers%$loop(%Markers%)%Marker% %Name%$char(9)%Time%$char(9),$loopend(),$loopend()
build on %_date%

```

The output:  
Filename

```auto
Part 01.mp3	<Markers><Marker><Name>Opening</Name><Time>0:00.000</Time></Marker><Marker><Name>Chapter 1</Name><Time>0:45.000</Time></Marker><Marker><Name>Chapter 2</Name><Time>6:25.000</Time></Marker><Marker><Name>Chapter 3</Name><Time>15:24.000</Time></Marker><Marker><Name>Chapter 4</Name><Ti …
build on 4/29/2024

```

A tutorial on how to script for these items (and the proper name for what I think of as "embedded tags" would be greatly appreciated!

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [April 29, 2024, 9:27pm UTC](https://community.mp3tag.de/t/how-to-parse-embedded-extended-tags/64553/2 "2024-04-29T21:27:22Z")

</div>

I think that OVERDRIVE MEDIAMARKERS is a user-defined field that should be left as it is.

So far I am not really sure what you want to achieve. Do you want to transform the XML-tags into ID3 tags?

---

<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:30pm UTC](https://community.mp3tag.de/t/how-to-parse-embedded-extended-tags/64553/3 "2026-02-09T12:30:17Z")

</div>


