out.put({'BOTSID':'cXML'},{'BOTSID':'Header'},{'BOTSID':'Sender'},{'BOTSID':'Credential','Credential__domain':"domain"})
out.put({'BOTSID':'cXML'},{'BOTSID':'Header'},{'BOTSID':'Sender'},{'BOTSID':'Credential','Identity':"identity"})
out.put({'BOTSID':'cXML'},{'BOTSID':'Header'},{'BOTSID':'Sender'},{'BOTSID':'UserAgent':"My agent"})
But when it outputs it comes out with the UserAgent on top but needs to be at the bottom (the same order as the mapping).
How do I get the UserAgent to display at the bottom?
Expected:
<Sender>
<Credential domain="domain">
<Identity>ID</Identity>
</Credential>
<UserAgent>Agent</UserAgent>
</Sender>
Received:
<Sender>
<UserAgent>Agent</UserAgent>
<Credential domain="domain">
<Identity>ID</Identity>
</Credential>
</Sender>
Thanks
Lee
out.put({'BOTSID':'cXML'},{'BOTSID':'Header'},{'BOTSID':'Sender','UserAgent':"Comfy Gateway"})
This is it (I was playing around and forgot to change it back).
Thanks
--
You received this message because you are subscribed to the Google Groups "Bots Open Source EDI Translator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to botsmail+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/botsmail/d063e25b-f0f7-41e5-adfe-e3bf94b148ban%40googlegroups.com.