dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Count Classes from XML

  1. #1
    Senior Member
    Join Date
    May 2003
    Posts
    160

    Count Classes from XML

    Hey, I have an XML file that looks something like this

    PHP Code:
    <XML>
     <
    profile section="aboutMe">
      <
    name>asdf</name>
      <
    age>21</age>
     </
    profile>

     <
    profile section="skills">
      <
    compSkill>;akjflkasfk</compSkill>
     </
    profile>
    </
    XML
    I can't seem to count the siblings, so I can make a for loop ... anyway, I think once I can count the siblings I can write the rest of the code ... BTW, I just need to count the siblings inside each <profile> section ... is that possible ...

    thanks for the help

  2. #2
    Senior Member
    Join Date
    May 2003
    Posts
    160
    nevermind ... I got it

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