A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: == SERIOS XML PROBLEM ==

  1. #1
    Junior Member
    Join Date
    Aug 2000
    Posts
    17
    this is part from my XML:

    <info id_user="102">
    <time_connect>17:30:44 09.01.2002</time_connect>
    <real_name>Martin Sojka</real_name>
    <born>1977</born>
    <wins>5</wins>
    </info>

    I need to read nodeValue of children nodes..

    but Flash returns their nodeType as 1 .. which is node element (text node has type 3)
    so it cannot read the nodeValue

    How can I solve this problem???

    One I know is putting the values into attributes...
    But I dont understand why Flash recognizes that nodes as element nodes, and not text nodes..

    ________________________
    martins .. new media design
    http://www.martins.sk
    info@martins.sk

  2. #2
    Senior Member
    Join Date
    Feb 2001
    Location
    Provo, Utah
    Posts
    1,112

    Uhh...

    You need to put spaces after your < 's so that they aren't parsed. Like this:

    < top >
    < inside / >
    < / top >

    Then we can try to help you.

    ... or ...

    use the 'code' tags that the board recognizes -

    [ code ]
    [ / code ]

    (without the spaces)

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