baiji v0.6.5 Baiji.Response.Parser.XML

Parses responses from APIs that return XML

Link to this section Summary

Functions

If the result we’re trying to parse is contained in a wrapper element, descend through the element tree until we’ve found one with a matching name and return it

Parse the XML output of an API call and generate a response in the form of a map

Link to this section Functions

Link to this function descend_to_wrapper(element, wrapper)

If the result we’re trying to parse is contained in a wrapper element, descend through the element tree until we’ve found one with a matching name and return it

Link to this function parse(response, op)

Parse the XML output of an API call and generate a response in the form of a map

Link to this function parse(xml, shape_name, shapes)
Link to this function parse!(response, op)
Link to this macro xmlElement(args \\ []) (macro)
Link to this macro xmlElement(record, args) (macro)
Link to this macro xmlText(args \\ []) (macro)
Link to this macro xmlText(record, args) (macro)