This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Xml File Changes and element order
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 10, 2009
11:07 AM
Xml File Changes and element order
I am having problems with the element order on Xml File Changes.
I want the order of elements to remain exactly as they are in the IDE, but they are written to file in either an ASCII order or randomly if the element names are the same.
e.g. In the IDE I have the new elements to be added listed as:
But when written to file the following could be the result:
Is there any way of forcing IS to write the new elements to the Xml file in the desired order?
I also notice that when I close the IS IDE and reopen it, the elements in the Xml File Changes view shown in a random order. Is it really that difficult for IS to preserve the desired order???
I want the order of elements to remain exactly as they are in the IDE, but they are written to file in either an ASCII order or randomly if the element names are the same.
e.g. In the IDE I have the new elements to be added listed as:
Line 0
Line 1
Line 2
Line 0
Line 1
But when written to file the following could be the result:
Line 1
Line 0
Line 0
Line 2
Line 1
Is there any way of forcing IS to write the new elements to the Xml file in the desired order?
I also notice that when I close the IS IDE and reopen it, the
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 28, 2010
03:11 AM
Hi,
did you come to any solution on this problem or has anyone else an idea? I have the same problem now.
Greetz
did you come to any solution on this problem or has anyone else an idea? I have the same problem now.
Greetz
![](/skins/images/8C9D13A71C7F7695F3262372C0172D68/responsive_peak/images/icon_anonymous_message.png)