The xml is$VAR1 = { 'firstname' => [ "\x{422}\x{430}\x{43c}\x{438}\x{440}" ], 'xmlns' => 'http://tempuri.org/', 'photo' => [ 'https://sisi.num.edu.mn/getstpic.ashx?id=1001004 +0666' ], 'lastname' => [ "\x{414}\x{443}\x{43b}\x{430}\x{43c}\x{446}\ +x{43e}\x{4 3e}" ], 'phones' => [ '94120465,99465510' ], 'usertype' => [ '1' ], 'program' => [ "\x{411}\x{438}\x{437}\x{43d}\x{435}\x{441}\x{4 +38}\x{439} \x{43d} \x{441}\x{443}\x{440}\x{433}\x{443}\x{443}\x{43b}\x{438}\x{439 +}\x{43d} \ x{435}\x{440}\x{4e9}\x{43d}\x{445}\x{438}\x{439} \x{441}\x{443}\x{443} +\x{440}\x{ 44c} \x{445}\x{4e9}\x{442}\x{4e9}\x{43b}\x{431}\x{4e9}\x{440} (\x{411} +\x{430}\x{ 43a}\x{430}\x{43b}\x{430}\x{432}\x{440}\x{44b}\x{43d} \x{4e8}\x{434}\x +{440}\x{43 8}\x{439}\x{43d} \x{441}\x{443}\x{440}\x{433}\x{430}\x{43b}\x{442} - - + ) " ], 'registerNr' => [ "\x{416}\x{42f}92101936 " ], 'xmlns:xsi' => 'http://www.w3.org/2001/XMLSchema-instance', 'abbrevm' => [ "\x{41c}\x{423}\x{418}\x{421}, \x{411}\x{441}" ], 'userStatus' => [ "\x{421}\x{443}\x{440}\x{433}\x{443}\x{443}\ +x{43b}\x{4 38}\x{430}\x{441} \x{447}\x{4e9}\x{43b}\x{4e9}\x{4e9}\x{43b}\x{4e9}\x{ +433}\x{434 }\x{441}\x{4e9}\x{43d} - \x{4e8}\x{4e9}\x{440}\x{438}\x{439}\x{43d} \x +{445}\x{4a f}\x{441}\x{44d}\x{43b}\x{442}\x{44d}\x{44d}\x{440}" ], 'sisiid' => [ '13B1SES2361' ], 'emails' => [ 'sumiyad@yahoo.com, tamiraa1019@gmail.com' ], 'xmlns:xsd' => 'http://www.w3.org/2001/XMLSchema', 'school' => [ "\x{411}\x{438}\x{437}\x{43d}\x{435}\x{441}\x{43 +8}\x{439}\ x{43d} \x{441}\x{443}\x{440}\x{433}\x{443}\x{443}\x{43b}\x{44c}" ] };
<to_user_info> <photo>https://sisi.num.edu.mn/getstpic.ashx?id=10010040666</photo +> <lastname>Дуламцоо +</lastname> <firstname>Тамир</firstname> <sisiid>13B1SES2361</sisiid> <school>Бизнесий&# +1085; сургууль</schoo +l> <abbrevm>МУИС, Бс</abbrevm> <program>Бизнесий& +#1085; сургуулий +;н ерөнхий с +091;урь хөтөлб& +#1257;р (Бакалавl +8;ын Өдрийн с&# +1091;ргалт - - )</program> <registerNr>ЖЯ92101936</registerNr> <phones>94120465,99465510</phones> <emails>sumiyad@yahoo.com, tamiraa1019@gmail.com</emails> <userStatus>Сургуулl +0;ас чөлөөлө +075;дсөн - Өөрий +;н хүсэлтээ
 +88;</userStatus> <usertype>1</usertype> </to_user_info>
In reply to Re^10: {KOHA}Parse XML and assign to variables.
by scolife
in thread {KOHA}Parse XML and assign to variables.
by scolife
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |