# XML structure changed FP\_6 -\> FP\_8

**URL:** <https://forum.kirupa.com/t/xml-structure-changed-fp-6-fp-8/243458>\
**Category:** flash\
**Created:** [November 7, 2007, 9:57am UTC](https://forum.kirupa.com/t/xml-structure-changed-fp-6-fp-8/243458 "2007-11-07T09:57:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zangbomm](https://avatars.discourse-cdn.com/v4/letter/z/7ea924/32.png) [@zangbomm](https://forum.kirupa.com/u/zangbomm)\
**Post date:** [November 7, 2007, 9:57am UTC](https://forum.kirupa.com/t/xml-structure-changed-fp-6-fp-8/243458/1 "2007-11-07T09:57:55Z")

</div>

Good morning everyone!

Four years ago I wrote a Flash app for Flash Player 6 and AS1.  
It loads data from XML and associates with variables I need.

## Structure used in XML is as follows:

## \<?xml version=“1.0” encoding=“iso-8859-1”?\> \<INFO\> \<Row id=“Bla1” N=“Some Name” GSM=“00 00 000” Place=“16”/\> \<Row id=“Bla2” N=“Some Name 2” GSM=“11 11 111” Place=“9”/\> \</INFO\>

And I’m using following syntax to read info from XML:

// SomeVariable = XMLFile.firstChild.childNodes\*.attributes.GSM; //

It all works well if I publish it for Flash Player 6 and AS1. But now I need to make it work with Flash Player 8 and AS1 or AS2. My nightmare is, that I **can’t** change XML file structure because other apps are changing and updating this XML file. Other apps are written specifically to use XML syntax I showed above ;( If I publish it under Flash Player 8 then it just doesn’t load the XML and all values will be “undefined”.

How could I read data out of that XML without changing XML structure with FP 8? Some good advice anyone? Except rewriting other apps, it can’t be done :-/ Thanks!
