An XML string can be modified within a script to incorporate any text or variables.
To do this we use the "+AnyVar+" method to let SilkPerformer know we want to concatenate our variable into the original string. Any text inserted between "++" will be added to the string around it.
Take for example this basic XML document:
If we wanted to replace the name "Borland Support" with a random variable we would modify the generated .bdf script (where rRndFile1 is a random variable):
It is not possible to use the Parameter Wizard to modify the value. If you right-click (Customize Value...) on the XML form value in the generated script the wizard will select the full string. Therefore it is necessary to add the variable manually.
Important Note: It is essential to declare the variable as a global variable otherwise you will get the compile error "SEM 12: variable is not declared".
For help or assistance please contact Support.