Hi,
Enter following formula as text box (Another field) default value. Double click on the text box and enter below formula in the default value field.
“Name[@id = field1]”
Name – Display name from Secondary xml.
ID – ID from Secondary Xml.
Field1 – Dropdown.