Index: temp/trunk/html/test/naka/send.php
===================================================================
--- temp/trunk/html/test/naka/send.php	(revision 7152)
+++ temp/trunk/html/test/naka/send.php	(revision 7154)
@@ -41,5 +41,5 @@
 xml_parser_free($parser);
 
-getXMLValue($arrVal,"","");
+getXMLValue($arrVal,'RESULT','REDIRECT');
 
 /*
@@ -53,10 +53,21 @@
 */
 
-function getXMLValue($arrVal, $tag, $attributes) {
+
+function getXMLAttValue($arrVal, $tag, $att) {
+	$ret = "";
 	foreach($arrVal as $array) {
-		$tag = $array['tag'];
-
-		print_r($array['attributes']);
+		if($tag == $array['tag']) {
+			if(!is_array($array['attributes'])) {
+				continue;
+			}
+			foreach($array['attributes'] as $key => $val) {
+				if($key == $att) {
+					$ret = $val;
+					break;
+				}
+			}			
+		}		
 	}
+	return $ret;
 }
 
