XML Attributes

GendoPose

Registered User.
Local time
Today, 02:03
Joined
Nov 18, 2013
Messages
175
Hi All,

I've managed to get my table exports near enough how they should be looking, I've got the nested nodes perfectly aligned to my sample. The only part missing is the attributes in the nodes of the XML.

Here is my sample;

Code:
<tg:order tg:replace="true" tg:site_code="SC" tg:job_id="SC10268">
[INDENT]<tg:job_description>STJ Import - AUG 2007</tg:job_description> <tg:order_qty>176277</tg:order_qty>
[/INDENT]
Here is mine;

Code:
<order>
[INDENT]<job_description>STJ Import - AUG 2007</job_description>
<order_qty>176277</order_qty>
[/INDENT]How do I add the attribute tags to the XML export? And also, I've noticed the fields are prefixed by "tg:" in my sample, any ideas what this is about and how I would get this in my export?

Thanks for any help!
 

Users who are viewing this thread

Back
Top Bottom