Okay, okay... from what I can find, I'm gonna be out of luck. I also
understand that it *shouldn't* matter but it does. I'm trying to send
some XML to Amazon and they're requiring the nodes to be in a specific
order. I am supposed to send the elements in the following
order:AmazonOrderID, MerchantOrderID, StatusCode and then a collection
of Item elements.
When I serialize my object, the XML is putting the StatusCode element
after the collection of item elements. AAAARRRGGH!!! I can't figure
out how to move the status code element ahead of the Item collection
and Amazon won't accept the feed if it's not!
Can anyone out there help me?
Here's the definition of the elements in my code:
Public AmazonOrderID As String
Public MerchantOrderID As String
<XmlElement("StatusCode")> Public Property StatusCode() As
StatusCode
Get
Return _StatusCode
End Get
Set(ByVal Value As StatusCode)
_StatusCode = Value
End Set
End Property
<XmlElement()> Public Item() As structOrderAckItem
Private _StatusCode As StatusCode