# Simple AS3 XML question

**URL:** https://forum.kirupa.com/t/simple-as3-xml-question/318490
**Category:** flash
**Created:** [January 21, 2011, 12:31pm UTC](https://forum.kirupa.com/t/simple-as3-xml-question/318490 "2011-01-21T12:31:19Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![evissy](https://avatars.discourse-cdn.com/v4/letter/e/ed8c4c/32.png) [@evissy](https://forum.kirupa.com/u/evissy)
#### Post date: [January 21, 2011, 12:31pm UTC](https://forum.kirupa.com/t/simple-as3-xml-question/318490/1 "2011-01-21T12:31:19Z")

</div>

Hello,

I’m novice what comes to xml. I’m more into visual side of Flash.

As the title says I have a simple question related to the tutorial from [kirupa.com](http://kirupa.com)  
[[http://www.kirupa.com/web/xml/examples/simpleeditor.htm](http://www.kirupa.com/web/xml/examples/simpleeditor.htm)](Simple Editor)

In this example there is one input field and one output field. You write your text to input-field and by pressing send it writes the text to the xml-file and shows it output field as well.

I’ve been trying to add more input- and output-fields so I could use this xml-file in my main application. It would work similarly otherwise. You would write the information to the xml-file with pressing the “send”-button.

My main application uses the following xml-structure:

```auto
<?xml version="1.0" encoding="UTF-8"?>
<info>
<product>BEEF</product>
<code>078130209</code>
<origin>COUNTRY</origin>
<cut>COUNTRY</cut>
</info>

```

Simple question so it must be simple anwer, right? 😏

Thanks in advance!
