Module: Xqsr3::XML::Utilities::Navigation::Internal_Compare_

Extended by:
Quality::ParameterChecking
Defined in:
lib/xqsr3/xml/utilities/navigation.rb

Class Method Summary collapse

Class Method Details

.get_descendants(node) ⇒ Object



68
69
70
71
72
73
74
75
76
77
78
79
80
# File 'lib/xqsr3/xml/utilities/navigation.rb', line 68

def self.get_descendants node

	descendants	=	[]

	node.children.each do |child|

		descendants	<<	child

		descendants	+=	self.get_descendants child
	end

	descendants
end