cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ReDocRick
Level 3

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
Labels (1)
0 Kudos
(2) Replies
MichaelU
Level 12 Flexeran
Level 12 Flexeran

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.
0 Kudos
ReDocRick
Level 3

sorry its been a while since I've been able to post. Michael I can't thank you enough, that solved my problems..

Rick
0 Kudos