{"action":"created","issue":{"url":"https://api.github.com/repos/elifesciences/elife-tools/issues/17","labels_url":"https://api.github.com/repos/elifesciences/elife-tools/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/elifesciences/elife-tools/issues/17/comments","events_url":"https://api.github.com/repos/elifesciences/elife-tools/issues/17/events","html_url":"https://github.com/elifesciences/elife-tools/issues/17","id":65234800,"number":17,"title":"separate the extraction of raw values from the cleaned/transformed values","user":{"login":"lsh-0","id":2142748,"avatar_url":"https://avatars.githubusercontent.com/u/2142748?v=3","gravatar_id":"","url":"https://api.github.com/users/lsh-0","html_url":"https://github.com/lsh-0","followers_url":"https://api.github.com/users/lsh-0/followers","following_url":"https://api.github.com/users/lsh-0/following{/other_user}","gists_url":"https://api.github.com/users/lsh-0/gists{/gist_id}","starred_url":"https://api.github.com/users/lsh-0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsh-0/subscriptions","organizations_url":"https://api.github.com/users/lsh-0/orgs","repos_url":"https://api.github.com/users/lsh-0/repos","events_url":"https://api.github.com/users/lsh-0/events{/privacy}","received_events_url":"https://api.github.com/users/lsh-0/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-30T15:13:51Z","updated_at":"2015-03-30T15:57:50Z","closed_at":null,"body":"I would like a module that I can count on for returning 'ideal' values that depends upon a module that deals solely with extracting raw values.\r\n\r\nFor example: calling `parser.title(soup)` would give me the ideal version of the article title  (no new lines, no whitespace, etc)\r\n\r\ncalling `parser.raw_title(soup)` or perhaps `parser.title(soup, raw=True)` would give me the untransformed version straight from the xml.\r\n\r\nIan has suggested in the spirit of developer friendliness that we could also make the extracted xml node available ..."},"comment":{"url":"https://api.github.com/repos/elifesciences/elife-tools/issues/comments/87734480","html_url":"https://github.com/elifesciences/elife-tools/issues/17#issuecomment-87734480","issue_url":"https://api.github.com/repos/elifesciences/elife-tools/issues/17","id":87734480,"user":{"login":"lsh-0","id":2142748,"avatar_url":"https://avatars.githubusercontent.com/u/2142748?v=3","gravatar_id":"","url":"https://api.github.com/users/lsh-0","html_url":"https://github.com/lsh-0","followers_url":"https://api.github.com/users/lsh-0/followers","following_url":"https://api.github.com/users/lsh-0/following{/other_user}","gists_url":"https://api.github.com/users/lsh-0/gists{/gist_id}","starred_url":"https://api.github.com/users/lsh-0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsh-0/subscriptions","organizations_url":"https://api.github.com/users/lsh-0/orgs","repos_url":"https://api.github.com/users/lsh-0/repos","events_url":"https://api.github.com/users/lsh-0/events{/privacy}","received_events_url":"https://api.github.com/users/lsh-0/received_events","type":"User","site_admin":false},"created_at":"2015-03-30T15:57:50Z","updated_at":"2015-03-30T15:57:50Z","body":"I'm thinking we bypass raw strings with their embedded newlines and whatever and return the raw nodes BS/lxml return after extraction as per Ian's suggestion - that seems more useful. In that case the raw value *would* include child nodes."}}