{"action":"opened","issue":{"url":"https://api.github.com/repos/iDev0urer/xmler/issues/1","repository_url":"https://api.github.com/repos/iDev0urer/xmler","labels_url":"https://api.github.com/repos/iDev0urer/xmler/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/iDev0urer/xmler/issues/1/comments","events_url":"https://api.github.com/repos/iDev0urer/xmler/issues/1/events","html_url":"https://github.com/iDev0urer/xmler/issues/1","id":176786946,"number":1,"title":"Reversed order elements to what's in dict","user":{"login":"drewbroadley","id":1505816,"avatar_url":"https://avatars.githubusercontent.com/u/1505816?v=3","gravatar_id":"","url":"https://api.github.com/users/drewbroadley","html_url":"https://github.com/drewbroadley","followers_url":"https://api.github.com/users/drewbroadley/followers","following_url":"https://api.github.com/users/drewbroadley/following{/other_user}","gists_url":"https://api.github.com/users/drewbroadley/gists{/gist_id}","starred_url":"https://api.github.com/users/drewbroadley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drewbroadley/subscriptions","organizations_url":"https://api.github.com/users/drewbroadley/orgs","repos_url":"https://api.github.com/users/drewbroadley/repos","events_url":"https://api.github.com/users/drewbroadley/events{/privacy}","received_events_url":"https://api.github.com/users/drewbroadley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-14T00:44:43Z","updated_at":"2016-09-14T00:44:43Z","closed_at":null,"body":"When working with a SOAP service that requires the items in a specific order, I'm finding the library is reversing them.\r\n\r\nI.e.\r\n\r\n```\r\nxml = {\r\n       \"Envelope\": {\r\n                \"@ns\": \"x\",\r\n                \"@attrs\": {\r\n                    \"xmlns:x\": \"http://schemas.xmlsoap.org/soap/envelope/\",\r\n                },\r\n               \"Element1\": {},\r\n               \"Element2\": {}\r\n       }\r\n}\r\n\r\n```\r\nComes out as\r\n\r\n```\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<x:Envelope xmlns:x=\"http://schemas.xmlsoap.org/soap/envelope/\"  xmlns:cen=\"http://centrix.co.nz\" >\r\n<Element2></Element2>\r\n<Element1></Element1>\r\n</x:Envelope>\r\n```"}}
{"actor":{"display_login":"drewbroadley"}}