Hi Matt
Only productxmldata.template is actually used. The second one is only present as a place to hold the sample code for the second tab. Just put all of your new xmldata bits into productxmldata.template. This is the template that displays your custom fields in the product editor.
The rest of your code looks about right though its hard to read here.
See what happens when you've fixed up productxmldata.template anyway and get back.
Regards
Rob
Only productxmldata.template is actually used. The second one is only present as a place to hold the sample code for the second tab. Just put all of your new xmldata bits into productxmldata.template. This is the template that displays your custom fields in the product editor.
The rest of your code looks about right though its hard to read here.
See what happens when you've fixed up productxmldata.template anyway and get back.
Regards
Rob