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

XMS replace and XPath problems

Hi.

Im having trouble adding elements using the XML file changes in installshield.

I have defined the following node structure:



because I need to insert 12 Settings nodes under the Body node. This works fine for Settings[1] to Settings[9]. But Settings[10] and above nodes are not written to the XML file.

Is there a better way to do this or is there a bug in installshield? I checked the XPath standard and 10, 11, 12 seem to be valid and I even tested the XPath query in a visualizer.

Thanks

Rouan.
Labels (1)
0 Kudos
(2) Replies
MichaelU
Level 12 Flexeran
Level 12 Flexeran

As a guess, try inserting leading zeros on 1 through 9, making it 01 through 09. I suspect there may be some sort ordering causing this to work incorrectly without that.
0 Kudos
rouanvd
Level 3

Thanks.

Adding 0s in front fixed the problem.
0 Kudos