Quantcast
Channel: Processing Forum
Viewing all articles
Browse latest Browse all 1768

Re : Strange XML structrue after Facebook call.

$
0
0
aha.. he does that when parsing the String to the XMLElement. So the String is right:

  1. <Users_getInfo_response xmlns="http://api.facebook.com/1.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://api.facebook.com/1.0/ http://api.facebook.com/1.0/facebook.xsd" list="true">
  2.   <user>
  3.     <uid>1477411208</uid>
  4.     <first_name>Marc</first_name>
  5.     <last_name>Tiedemann</last_name>
  6.   </user>
  7. </Users_getInfo_response>


but XMLElement adds the outer brakets:

  1. <<?xml version="1.0" encoding="UTF-8"?>
  2. ...
  3. </Users_getInfo_response>/>

still it shouldn't do this, if i understand right.





      

Viewing all articles
Browse latest Browse all 1768

Trending Articles