Integrating complex XML structure

Ask a Question related to Macromedia Flash Data Integration, Design and Development.

  1. #1

    Default Integrating complex XML structure

    Hi, im trying to use XMLConnector and dataset to integrate an XML file.
    the structure of the xml file is the following :
    <members>
    <member>
    <name/>
    <title/>
    <adress/>
    ...(a lot of simple string field)
    <links>
    <link>
    <url/>
    <name/>
    </link>
    <link>
    <url/>
    <name/>
    </link>
    </links>
    </member>
    </members>


    When i use the xmlConnector wizard, i have the following structure on my
    connector :
    results
    --members::object
    ----member::array
    -------[n]::object
    -------------name::String
    -------------title::String
    -------------(a lot of simple string field)
    -------------links:Object
    ----------------link::Array
    --------------------[n]::Object
    ----------------------------url:String
    ----------------------------name:String

    My problem is that i can't access my "links" information since i don't really
    know :
    - how to configure the dataset to manage such a structure
    - how to access with actionscript the url and name from the "currentItem"

    I succeed in accessing all the other fields, but this one is resisting to me :)

    If anyone have a clue,
    thanks a lot,

    Tonio34




    Antonin34 Guest

  2. Similar Questions and Discussions

    1. Class::Struct - want to access structure within structure
      I want to access a structure within a structure. Below is what I had in mind. Please help. #!/perl/bin/perl use Class::Struct; struct Step...
    2. Complex Structure
      Hey guys, I've created a reservation app that checks multiple dates against a calendar and if the dates are available inserts them into a table....
    3. Structure of complex distributions; CVS
      I am working on a pretty complex distribution, and I could use some advice on how to structure its directories. This distribution contains...
    4. Arbitrarily Complex Data Structure
      Hi. Is it possible to create a subroutine to handle an arbitrarily complex data structure (for my purposes, complex only refers to hashes and...
    5. Complex Site Structure - One project or many?
      Hi All, We have developed a nice .Net platform for our growing internet (www.co.sutter.ca.us), intranet and internal web application sites....
  3. #2

    Default Re: Integrating complex XML structure

    In the Component Inspector of your DataSet you will find a field called Path.
    From what I understand you will need to use XPath statements in order to
    reference that information. Search for XPath on the Macromedia website and you
    should find what you need.

    -BurningFeathers

    BurningFeathers Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139