View Source VatchexGreece.Process (VatchexGreece v0.8.0)

Process the response and convert it to a map within a response tuple.

Link to this section Summary

Functions

Extract list of activities from the XML of the response body and convert the resulting map to a list of NACEactivity structs.

Extract strings of attribute within the XML of the response body.

Parse the XML of the response body and update the Results struct.

Link to this section Functions

Link to this function

extract_activities(xml)

View Source (since 0.7.0)

Extract list of activities from the XML of the response body and convert the resulting map to a list of NACEactivity structs.

Link to this function

extract_string(xml, attribute)

View Source (since 0.7.0)

Extract strings of attribute within the XML of the response body.

Link to this function

parse(arg)

View Source (since 0.7.0)

Parse the XML of the response body and update the Results struct.