TopIce
26.03.2010, 08:14
Как вывести полученный от сервера XML на экран целиком без изменений.
то есть, допустим получаю я
<restResponse object="user" method="getInfoAction">
<id>12313546</id>
<fullName>Василий Пупкин</fullName>
<nick>Vasyok</nick>
<isOnline>yes</isOnline>
<type>student</type>
<smallAvatar>http://scribbler.ru/uploaded/avatar/user/12313546/small.jpg</smallAvatar>
<mediumAvatar>http://scribbler.ru/uploaded/avatar/user/12313546/medium.jpg</mediumAvatar>
<userPic>http://scribbler.ru/uploaded/avatar/user/12313546/big.jpg</userPic>
</restResponse>
и на экране в компоненте text (или каком другом) должно показаться тоже самое
<restResponse object="user" method="getInfoAction">
<id>12313546</id>
<fullName>Василий Пупкин</fullName>
<nick>Vasyok</nick>
<isOnline>yes</isOnline>
<type>student</type>
<smallAvatar>http://scribbler.ru/uploaded/avatar/user/12313546/small.jpg</smallAvatar>
<mediumAvatar>http://scribbler.ru/uploaded/avatar/user/12313546/medium.jpg</mediumAvatar>
<userPic>http://scribbler.ru/uploaded/avatar/user/12313546/big.jpg</userPic>
</restResponse>
то есть, допустим получаю я
<restResponse object="user" method="getInfoAction">
<id>12313546</id>
<fullName>Василий Пупкин</fullName>
<nick>Vasyok</nick>
<isOnline>yes</isOnline>
<type>student</type>
<smallAvatar>http://scribbler.ru/uploaded/avatar/user/12313546/small.jpg</smallAvatar>
<mediumAvatar>http://scribbler.ru/uploaded/avatar/user/12313546/medium.jpg</mediumAvatar>
<userPic>http://scribbler.ru/uploaded/avatar/user/12313546/big.jpg</userPic>
</restResponse>
и на экране в компоненте text (или каком другом) должно показаться тоже самое
<restResponse object="user" method="getInfoAction">
<id>12313546</id>
<fullName>Василий Пупкин</fullName>
<nick>Vasyok</nick>
<isOnline>yes</isOnline>
<type>student</type>
<smallAvatar>http://scribbler.ru/uploaded/avatar/user/12313546/small.jpg</smallAvatar>
<mediumAvatar>http://scribbler.ru/uploaded/avatar/user/12313546/medium.jpg</mediumAvatar>
<userPic>http://scribbler.ru/uploaded/avatar/user/12313546/big.jpg</userPic>
</restResponse>