Get values from 2 different child table in sales invoice print

I wanted to get values from 2 different child table(items, taxes) in for loop for sales invoice print format.

    <tr>{%- for row in doc.taxes-%}

Please anyone help me to do this