Hi Chris,
thanks for your response
1) Do you want to do this when creating or reading the XML data stream? Yes
2) Are you using a DataWindow or PBDOM to interact with the XML data stream? Datawindow
3) If you using a DW - what import / export mechanism are you using?
Tab : DataExport
Property : XML format
Use Template : <Own_template>
See example below :