# Adding Lines to a XML file

**URL:** https://forum.kirupa.com/t/adding-lines-to-a-xml-file/190832
**Category:** flash
**Created:** [June 14, 2006, 11:33pm UTC](https://forum.kirupa.com/t/adding-lines-to-a-xml-file/190832 "2006-06-14T23:33:52Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Pixelangry](https://avatars.discourse-cdn.com/v4/letter/p/77aa72/32.png) [@Pixelangry](https://forum.kirupa.com/u/Pixelangry)
#### Post date: [June 14, 2006, 11:33pm UTC](https://forum.kirupa.com/t/adding-lines-to-a-xml-file/190832/1 "2006-06-14T23:33:52Z")

</div>

Alright im trying to figure out how to take the xml gallery tutorial, and add the ability to add lines to the xml from the swf itself.

The swf would just be 2 text boxes, one having the url to the image, and one for the caption

```auto

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<images>
    <pic>
 <image>http://www.phirebrush.com/issues/38/photography/54ka%20-%20Treestory.jpg</image>
        <caption>PHIREBRUSH!!!!</caption>
    </pic>
    <pic>
 <image>*USER DATA*</image>
       <caption>*USER DATA*</caption>
    </pic>
</images>

```

Make sense? can anyone help?
