file(Filename, Options) -> Result
Types
Filename = string()Options = [option()]Result = {ok, EventState, Rest} |{Tag, Location, Reason, EndTags, EventState}Rest = unicode_binary() | latin1_binary()Tag = atom() (fatal_error, or user defined tag)Location = {CurrentLocation, EntityName, LineNo}CurrentLocation = string()EntityName = string()LineNo = integer()EventState = term()Reason = term()Parse file containing an XML document. This functions uses a default continuation function to read the file in blocks.