Sorry - I posted this a week ago and now couldn't find my own post in the "Recent Posts". Now I found my post from a week ago but can't delete this one anymore. My apologies for double-posting.
Anyway, does anyone have an answer for the following question?
In the FileMaker Server 12 documentation for Custom Web Publishing with XML it say on page 22:
"If you want the XML data order to match the order in which fields appear on the screen (top-to-bottom, left-to-right order), then select all fields, group them, and then ungroup them. This procedure resets the layout order to match the screen order."
For some reason, this does not work for me - the field order in the returned XML is the same as it was before.
Do you know how to have a specific order in the XML file that is being returned?