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
- :
- XML File Changes
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
‎Aug 31, 2007
12:09 PM
XML File Changes
Up until now i have had very few issues changing XML files. However this one i am kinda stumped on.
[EmailAddress]
This is a segment of the XML i am trying to modify, a 2005 standard .config file. I need to include an email address between and . However, when i import this file into the xml file changes, and i drill down to the string section, there are no predefined attributes, and adding anythign causes the installer to crash and rollback during the install. Does anyone have any ideas on how i should approach this?
ReDocRick
This is a segment of the XML i am trying to modify, a 2005 standard .config file. I need to include an email address between
ReDocRick
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 05, 2007
10:04 AM
Could you use the position() function to specify which string element you wish to edit? Something like /setting/value/ArrayOfString/string[position()=1]? My XPath isn't very good, so you might have to fiddle with the details.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 10, 2007
08:33 AM
sorry its been a while since I've been able to post. Michael I can't thank you enough, that solved my problems..
Rick
Rick