empty value in xml child causing error handler

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

  1. #1

    Default empty value in xml child causing error handler

    hello,

    i'm trying parsing xml from variable, if all have value it work fine but if
    there's one that don't have value,
    it return error Handler not found in object.
    gParserObject.child[1].child[n].child[1].text

    then i do debug and it said VOID. so how to detect it is VOID or not ? I
    also try voidp() and void also wont work
    please give an advice

    Thanks

    RIcky
    Babon


    Babon Guest

  2. Similar Questions and Discussions

    1. #38768 [NEW]: addChild to an empty node doesn't add a child
      From: vondi at vondi dot no-ip dot com Operating system: Linux PHP version: 5.1.6 PHP Bug Type: SimpleXML related Bug...
    2. Error executing child request for error.aspx
      We are getting errror when load control is added(ascx) as "Error executing child request for error.aspx" it thows an error after calling the...
    3. Page button throws exception even when handler is empty
      I have a web form that displays some information and then at the bottom it has a Button control. This control has both a Click and Command event...
    4. KB886903 causing weird error
      I develop and maintain an application that takes advantage of ASP.NET hosting internally. More explicitly, its an ASP.NET application that creates...
    5. RS causing strange error
      For some reason,, the following recordset rs("w2itd1") will run fine when I'm looping it out on a page, but when I have it inside a sql statement,...
  3. #2

    Default Re: empty value in xml child causing error handler

    If you are asking about how to find a void value in XML that you are
    parsing then you will have to run a repeat loop through each of the
    property lists that are generated from the XML.

    --
    Rob
    _______
    Rob Dillon
    Team Macromedia
    [url]http://www.ddg-designs.com[/url]
    412-243-9119

    [url]http://www.macromedia.com/software/trial/[/url]
    Rob Dillon 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