def compile_loop_block(self, block):
    elements = []
    loop_controller = JMX._get_loop_controller(block.loops)
    children = etree.Element('hashTree')
    for compiled in self.compile_requests(block.requests):
        for element in compiled:
            children.append(element)
    elements.extend([loop_controller, children])
    return elements
def compile_loop_block(self, block):
    elements = []
    loop_controller = JMX._get_loop_controller(block.loops)
    children = etree.Element('hashTree')
    for compiled in self.compile_requests(block.requests):
        for element in compiled:
            children.append(element)
    elements.extend([loop_controller, children])
    return elements