Functions
hash_to_xml
: Function that converts a hash to an XML stringxml_to_hash
: Function to convert an xml file into a hash via xml-simple
Type: Ruby 4.x API
Function that converts a hash to an XML string
The hash_to_xml function.
Returns: String
xml is generated from $data
Data type: Hash
Hash to be converted into xml
The hash_to_xml function.
Returns: String
xml is generated from $data
Data type: Hash
Hash to be converted into xml
Data type: Hash
The second parameter will be passed into XmlSimple.xml_out
Type: Ruby 4.x API
Function to convert an xml file into a hash via xml-simple
The xml_to_hash function.
Returns: Hash
data are converted from xml
Data type: String
Local file name to be passed into XmlSimple.xml_in
The xml_to_hash function.
Returns: Hash
data are converted from xml
Data type: String
Local file name to be passed into XmlSimple.xml_in
Data type: Hash
(optional) second parameter will be passed into XmlSimple.xml_in