Module

LibXML::Conversions::Node

Inheritance

Constants

Name   Description
CONTENT_ROOT = '__content__'
LIB_XML_LIMIT = 30000000

Methods

Instance

Visibility Signature
public to_hash (hash={})
protected array? ()
protected attributes_to_hash (hash={})
protected children_array_to_hash (hash={})
protected children_to_hash (hash={})
protected children_yaml_to_hash (hash = {})
protected insert_name_into_hash (hash, name)
protected yaml? ()

Instance Method Detail

to_hash(hash={})

Convert XML document to hash

hash:Hash to merge the converted element into.

array?()

Check if child is of type array

attributes_to_hash(hash={})

Convert xml attributes to hash

hash:Hash to merge the attributes into

children_array_to_hash(hash={})

Convert array into hash

hash:Hash to merge the array into

children_to_hash(hash={})

Insert children into hash

hash:Hash to merge the children into.

children_yaml_to_hash(hash = {})

Convert yaml into hash

hash:Hash to merge the yaml into

insert_name_into_hash(hash, name)

Insert name into hash

hash:Hash to merge the converted element into.
name:name to to merge into hash

yaml?()

Check if child is of type yaml