<AD_DATA> <SESSION_INFO> <FIRST_NAME>Joe</FIRST_NAME> <LAST_NAME>Shmoe</LAST_NAME> <TEST_KEY> <foo>foo</foo> <bar>bar</bar> </TEST_KEY> <OPTIONS> <0>DNR</0> <1>OPT</1> <2>FOO</2> <3>BAR</3> <4>CWS</4> <5>AVS</5> </OPTIONS> <HEIGHT>72</HEIGHT> <WEIGHT>96Kg</WEIGHT> </SESSION_INFO> <PAA> <logCount>0</logCount> etc... $xml_data = $xml; $parser = xml_parser_create(); xml_parser_set_option($parser, XML_OPTION_CASE_FOLDING, 0); xml_parser_set_option($parser, XML_OPTION_SKIP_WHITE, 0); xml_parse_into_struct($parser, $xml_data, &$values, &$tags); xml_parser_free($parser); each time I print out the tags or vals it stops at the options node: [13] => Array ( [tag] => OPTIONS [type] => open [level] => 3 [value] => ) [OPTIONS] => Array ( [0] => 13 ) Something to do with the numerical node names..?? If I change them to non-numeric vals all is good... What Am I missing?? -B -- s/:-[(/]/:-)/g Brian GnuPG -> KeyID: 0x04A4F0DC | Key Server: pgp.mit.edu ====================================================================== gpg --keyserver pgp.mit.edu --recv-keys 04A4F0DC Key Info: http://gfx-design.com/keys Linux Registered User #339825 at http://counter.li.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php