<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def apply_attributes(node: Node, **_):
 """Applies xml attributes to instance node and setups bindings"""

    for attr in node.xml_node.attrs:
        apply_attribute(node, attr)