User1535942433 posted
Hi mark1961,
I tried this but am only getting back the 2 PayeeType elements not their parent element.
Accroding to your description and codes,I don't understand your requirment clearly.I have created a test that I have get below result:
{<PayeeType>example type1</PayeeType>}
{<PayeeType>example type2</PayeeType>}
Do you need below this:
{<PayeePayPerWeek>example type1</PayeeType>}
{<PayeePayPerWeek>example type2</PayeeType>}
Could you post more details to us?It will help us to solve your problems.
Best regards,
Yijing Sun