I have imported an xml-file and now I'm running into a problem that makes me feel really stupid :/
the xml-structure:
<xml>
<mylist>
<category cat=klank>
<word aw=nk>Word</word>
(there are 12 of these word nodes)
</category>
</mylist>
</xml>
In flash I have a var called curWord which is a randomly determined word from my category. I don't know which node-number it is in my xml.
I have a variable string called curAw. It needs to contain the aw-attribute of curWord.
Then I did:
curAw = list.category.(@cat == klank).(word == curWord).@aw
But it doesn't work that way. And I'm not sure what will. I've spent a good hour trying stuff and searching the web, but I'm not sure how to describe what I need to know, so I can't find anything.
As always, your help is much appreciated :)