PDA

View Full Version : XML Data Islands and Java


sonixevo
11-08-2005, 12:35 AM
Hello all, I'm new to XML, so I need a little help here. I currently need to load an XML dataisland into flash using Javascript. Anyone has any ideas on how to do that? Perhaps using document.getElementsByTagName('xml').item(0).getAttribute('id')? Does anyone know what the tag names, item and attribute stand for? I just need to know how to extract it out using Javascript. Someone help me?

<xml id="mydatabase">
<data>
<name>This is the name field<name>
<blog>This is the blog field</blog>
</data>
</xml>