LOADING
Loading
Hi , welcome back.
LogoutLOGOUT
 
  Lost password?  
Hi
 




 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-30-2001, 01:57 PM
nslade nslade is offline
Registered User
 
Join Date: Dec 2000
Posts: 14
Rep Power: 0
nslade is on a distinguished road
I have an xml document structure that I need to navigate and extract data from to populate a flash movie, the sctructure is a bit like this

<mainone><one>hello</one><two>helloagain</two></mainone><maintwo><one>hello</one><two>helloagain</two></maintwo>

I need to know how to get to the <maintwo> tags.

I have the script to extract the first word "hello":
parse_one1=myDoc.firstChild;
_root.navlist.navlist.one1=parse_one1.firstChild.f irstChild.nodeValue;

and the second word "helloagain"
parse_one2=myDoc.firstChild;
_root.navlist.navlist.one2=parse_one1.firstChild.n extSibling.firstChild.nodeValue;

so I wan't to jump to the next main tag?

hope someone knows

Cheers

Nevil Slade
http://www.theory7.com
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
general question about xml menu architecture fhickler Flash CS3 / Flash 9 13 01-29-2009 10:04 PM
Getting the nodename in a tree component as output? Jakobben Actionscript 2.0 0 10-14-2008 06:22 AM
xml Tree Menu samprakash Flash 8 0 07-19-2007 04:06 PM
XML chaos six Actionscript 2.0 Components 0 08-10-2005 03:49 PM
change tree icons cpigg Flash MX 2004 0 05-12-2005 10:32 PM




All times are GMT. The time now is 05:58 AM.