Changing XPath Version of The Project

If you want to change the default XPath version of the new project to XPath 1.0 or if you want to change the XPath version of older project to XPath 2.0, you can do that in Studio.

Procedure

  1. In BusinessEvents Studio select the project for which you want to change the XPath version.
  2. Right click the project and select Properties, or click File > Properties.
    The property window for the project is displayed.
  3. Select Build Path and select the appropriate XPath version in the XPath Version field.
  4. Click OK
    Alternatively, you can edit the .beproject file and update the value of the xpathVersion property to 1.0 or 2.0.
    The project now uses the XSLT mapper based on the new XPath version.

What to do next

After the change in the compatible XPath version, check the XSLT mappings for the validation errors due to new XPath version. Use the autofix option in the Check and Repair dialog to correct the typecasting and function errors. See Mapping and Transforming Data for more details.