# Simple XML questions

**URL:** <https://forum.kirupa.com/t/simple-xml-questions/301625>\
**Category:** Uncategorized\
**Created:** [December 12, 2009, 2:10pm UTC](https://forum.kirupa.com/t/simple-xml-questions/301625 "2009-12-12T14:10:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![coggia](https://avatars.discourse-cdn.com/v4/letter/c/8c91f0/32.png) [@coggia](https://forum.kirupa.com/u/coggia)\
**Post date:** [December 12, 2009, 2:10pm UTC](https://forum.kirupa.com/t/simple-xml-questions/301625/1 "2009-12-12T14:10:11Z")

</div>

Well…simple but I’ve lost hours crawling the web to find a good way to use xml, without succeed…even the kirupa tutorial on xml dosn’t helps :’(

my xml file is like this:

```auto

<categorie>
  <fact id="1" cat="fig" fourn="ix" />
  <fact id="2" cat="ate" fourn="llix" />
...
/<categorie>

```

I got my xml file loaded in the var fileXML  
From there, i try to access a line of the xml and modify it,  
i’m trying to get the xml with the id=“1” like this :

```auto

var fileXMLList:XMLList = fileXML.fact.(@id == 1);
            trace(fileXMLList);

```

but it trace nothing…and even if it returned something, how should i tell to modify this particular node ?..
