{"action":"created","issue":{"url":"https://api.github.com/repos/johngeorgewright/angular-xml/issues/36","labels_url":"https://api.github.com/repos/johngeorgewright/angular-xml/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/johngeorgewright/angular-xml/issues/36/comments","events_url":"https://api.github.com/repos/johngeorgewright/angular-xml/issues/36/events","html_url":"https://github.com/johngeorgewright/angular-xml/issues/36","id":90740737,"number":36,"title":"Multiple elements in xml","user":{"login":"bradrice","id":272352,"avatar_url":"https://avatars.githubusercontent.com/u/272352?v=3","gravatar_id":"","url":"https://api.github.com/users/bradrice","html_url":"https://github.com/bradrice","followers_url":"https://api.github.com/users/bradrice/followers","following_url":"https://api.github.com/users/bradrice/following{/other_user}","gists_url":"https://api.github.com/users/bradrice/gists{/gist_id}","starred_url":"https://api.github.com/users/bradrice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradrice/subscriptions","organizations_url":"https://api.github.com/users/bradrice/orgs","repos_url":"https://api.github.com/users/bradrice/repos","events_url":"https://api.github.com/users/bradrice/events{/privacy}","received_events_url":"https://api.github.com/users/bradrice/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-24T17:39:56Z","updated_at":"2015-06-25T08:01:07Z","closed_at":null,"body":"I have tried to use your example and add elements to the xml like so:\r\n\r\n<!-- blogs.xml -->\r\n<blogs>\r\n    <blog name=\"my first blog\" id=\"1\"/>\r\n    <blog name=\"my second blog\" id=\"2\"/>\r\n    <blog name=\"my third blog\" id=\"3\"/>\r\n</blogs>\r\n\r\nFor some reason I can only get to the first element doing this:\r\n\r\n$http.get('view1/blogs.xml').success(function (data) {\r\n        $scope.blogs = data.blogs;\r\n        console.log($scope.blogs);\r\n    });\r\n\r\nIs there a way to get it as an array of objects?"},"comment":{"url":"https://api.github.com/repos/johngeorgewright/angular-xml/issues/comments/115154642","html_url":"https://github.com/johngeorgewright/angular-xml/issues/36#issuecomment-115154642","issue_url":"https://api.github.com/repos/johngeorgewright/angular-xml/issues/36","id":115154642,"user":{"login":"johngeorgewright","id":1423566,"avatar_url":"https://avatars.githubusercontent.com/u/1423566?v=3","gravatar_id":"","url":"https://api.github.com/users/johngeorgewright","html_url":"https://github.com/johngeorgewright","followers_url":"https://api.github.com/users/johngeorgewright/followers","following_url":"https://api.github.com/users/johngeorgewright/following{/other_user}","gists_url":"https://api.github.com/users/johngeorgewright/gists{/gist_id}","starred_url":"https://api.github.com/users/johngeorgewright/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johngeorgewright/subscriptions","organizations_url":"https://api.github.com/users/johngeorgewright/orgs","repos_url":"https://api.github.com/users/johngeorgewright/repos","events_url":"https://api.github.com/users/johngeorgewright/events{/privacy}","received_events_url":"https://api.github.com/users/johngeorgewright/received_events","type":"User","site_admin":false},"created_at":"2015-06-25T08:01:07Z","updated_at":"2015-06-25T08:01:07Z","body":"What does your XML look like?"}}