Open topic with navigation

TIBCO BusinessEvents® Enterprise Edition 6.3.1

# 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 an 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.

   If you have changed the XPath version from 1.0 to 2.0, the XPath Version Changed confirmation dialog is displayed. Click Yes to run the Mapper Function Migration wizard to fix common mapping issues. See Migrating Mapper Functions from XPath 1.0 to XPath 2.0 for more details. Click No if you wish to fix all the mapping issues manually.

   Important: Always back up your project before running the Mapper Function Migration wizard.

   Figure 46: Mapper Function Migration Wizard Confirmation

   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 the 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.

Did you find this helpful?

YesNo
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO BusinessEvents® Enterprise Edition

Copyright © 2004-2024. Cloud Software Group, Inc. All Rights Reserved.