{"action":"created","issue":{"url":"https://api.github.com/repos/prjemian/spec2nexus/issues/27","labels_url":"https://api.github.com/repos/prjemian/spec2nexus/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/prjemian/spec2nexus/issues/27/comments","events_url":"https://api.github.com/repos/prjemian/spec2nexus/issues/27/events","html_url":"https://github.com/prjemian/spec2nexus/issues/27","id":54229766,"number":27,"title":"refactor XML support to remove lxml requirement","user":{"login":"prjemian","id":2279984,"avatar_url":"https://avatars.githubusercontent.com/u/2279984?v=3","gravatar_id":"","url":"https://api.github.com/users/prjemian","html_url":"https://github.com/prjemian","followers_url":"https://api.github.com/users/prjemian/followers","following_url":"https://api.github.com/users/prjemian/following{/other_user}","gists_url":"https://api.github.com/users/prjemian/gists{/gist_id}","starred_url":"https://api.github.com/users/prjemian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prjemian/subscriptions","organizations_url":"https://api.github.com/users/prjemian/orgs","repos_url":"https://api.github.com/users/prjemian/repos","events_url":"https://api.github.com/users/prjemian/events{/privacy}","received_events_url":"https://api.github.com/users/prjemian/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-13T18:32:12Z","updated_at":"2015-01-13T18:40:59Z","closed_at":null,"body":"The lxml package is not available in all Python distributions (such as Canopy Express).  Consider refactoring to other packages.  What features would be lost?  pretty_print?"},"comment":{"url":"https://api.github.com/repos/prjemian/spec2nexus/issues/comments/69795375","html_url":"https://github.com/prjemian/spec2nexus/issues/27#issuecomment-69795375","issue_url":"https://api.github.com/repos/prjemian/spec2nexus/issues/27","id":69795375,"user":{"login":"prjemian","id":2279984,"avatar_url":"https://avatars.githubusercontent.com/u/2279984?v=3","gravatar_id":"","url":"https://api.github.com/users/prjemian","html_url":"https://github.com/prjemian","followers_url":"https://api.github.com/users/prjemian/followers","following_url":"https://api.github.com/users/prjemian/following{/other_user}","gists_url":"https://api.github.com/users/prjemian/gists{/gist_id}","starred_url":"https://api.github.com/users/prjemian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prjemian/subscriptions","organizations_url":"https://api.github.com/users/prjemian/orgs","repos_url":"https://api.github.com/users/prjemian/repos","events_url":"https://api.github.com/users/prjemian/events{/privacy}","received_events_url":"https://api.github.com/users/prjemian/received_events","type":"User","site_admin":false},"created_at":"2015-01-13T18:40:59Z","updated_at":"2015-01-13T18:40:59Z","body":"It seems that the lxml package is used in spec2nexus with the support for the UXML additions to SPEC at APS beam lines 33ID and 33BM.  Since this is developmental, it may be possible to refactor this support to use ElementTree.\r\n\r\nThe spec.py module has a prettify() method that relies on the lxml package to pretty_print some code.  It is possible to do not quite as a good a job with the the minidom package.  This is a quality issue and does not have to be a requirement in spec2nexus at this time."}}