method

parse

parse(data)
public

Parse an XML Document string or IO into a simple hash using libxml / nokogiri.

data

XML Document string or IO to parse