Skip to content

Instantly share code, notes, and snippets.

@reinh
Created November 8, 2009 03:56
Show Gist options
  • Save reinh/229088 to your computer and use it in GitHub Desktop.
Save reinh/229088 to your computer and use it in GitHub Desktop.
FileElement = lists:last(xmerl_xpath:string("//file", Xml)),
{file, Attributes, _} = xmerl_lib:simplify_element(FileElement),
Subject = proplists:get_value(subject, Attributes),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment