dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: rootNode.firstChild.nextSibling.nextSibling?

Hybrid View

  1. #1
    Member
    Join Date
    Nov 2000
    Location
    Hollywood, FL
    Posts
    41

    rootNode.firstChild.nextSibling.nextSibling?

    Is rootNode.firstChild.nextSibling.nextSibling; a valid path in XML?

    how do you jump between multiple siblings?
    www.mikehalak.com

  2. #2
    Senior Member tupps's Avatar
    Join Date
    Jan 2001
    Location
    Melbourne
    Posts
    2,035
    rootNode.childNodes[2] is probably better.

    childNodes is an array of all the nodes, and typically you should loop through that.

    Thanks

    Luke
    Flash-XML FAQ
    http://www.tupps.com/flash/faq/

  3. #3
    Member
    Join Date
    Nov 2000
    Location
    Hollywood, FL
    Posts
    41
    1000 thanks Luke, my project has been transformed from useless crap to functional front-end. solid.
    www.mikehalak.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center