referencing XML nodes by name

Ask a Question related to Macromedia Director Lingo, Design and Development.

  1. #1

    Default referencing XML nodes by name

    I would like to access the info in an XML file by name but Macromedias XML-Xtra instructions only explain how to access data via child-number eg child[1].child[2].child[n] etc. This is daft and defeats the point of using XML.

    How can I access the data by tag-name?



    EdMX webforumsuser@macromedia.com Guest

  2. Similar Questions and Discussions

    1. Accessing XML nodes
      Suppose this your XML: <content> <author> <book> <title>this is the title</title> <description>book description</description> <book>...
    2. Inserting XML nodes
      I want to insert a new XML node in my XML object, but not at the end as ..appendchild() method does, but in the node position of my choice... for...
    3. Check for missing xml nodes or empty nodes
      Hi, Is it possible to check for missing or empty xml nodes "before" putting them into a table or doing a XMLSearch . Sometimes the xml will come...
    4. FreeBSD 5.3 dev nodes
      Hi all, ok, this may be a dumb question, but here goes... I have just started using the 5.X branch of FreeBSD, and needed to mount a hot swap...
    5. Interactive nodes.
      Hey, ive been to bit-101.com, and i really like the nodes and things it has on there. I got the tutorial on how i make a simple on of his type, but...
  3. #2

    Default Re: referencing XML nodes by name

    perhaps it should work,but it doesn't

    I've tried

    gParseObject.child["tagname"]

    and

    gParseObject["tagname"]

    and neither of these methods work.

    any thoughts would be appreciated


    EdMX webforumsuser@macromedia.com 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