# Converting XML children to attributes \[renamed\]

**URL:** https://forum.kirupa.com/t/converting-xml-children-to-attributes-renamed/222621
**Category:** flash
**Created:** [April 15, 2007, 2:41pm UTC](https://forum.kirupa.com/t/converting-xml-children-to-attributes-renamed/222621 "2007-04-15T14:41:32Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ana\_ramirez](https://avatars.discourse-cdn.com/v4/letter/a/82dd89/32.png) [@ana\_ramirez](https://forum.kirupa.com/u/ana_ramirez)
#### Post date: [April 15, 2007, 2:41pm UTC](https://forum.kirupa.com/t/converting-xml-children-to-attributes-renamed/222621/1 "2007-04-15T14:41:32Z")

</div>

I found in this site a great tutorial.  
The name of the tutorial is news\_editor, it explains how to transform and edit a XML using Flash and PHP.

Is posible to transform the code in flash in order that all the entries were atributes instead of child.

What I want is that the XML will have the following structure:

\<entry myevent=“Flashstudy”  
myplace=“London”  
mytime=“Night”  
/\>

I tried to do this, but I couldn’t.

Do you have time to help me?

Thanks for all

ana

PD: Sorry my english
