Migrating Mapper Functions to XPath 2.0 Using Command Line
After the project is migrated to the XPath 2.0, you can use the
migrateMapperFunctions
operation of the
studio-tools
utility to fix common mapper function issues.
This command fixes the typecast errors, if the data type can be converted using the xsd: constructor functions. It also fixes the issues which the gives error:
XSLT is out of sync with schema component properties.
Important: Always back up your project before running the Mapper Function Migration wizard.
- Procedure
- Navigate to BE_HOME/studio/bin/ and open a command prompt.
- Execute a command with the following format (all in one line) at a command prompt:
studio-tools -core migrateMapperFunctions -p <studioProjDir>
Where:Studio Tools Options for Migrating Mapper Functions Option Description -core migrateMapperFunctions
Specifies the migrateMapperFunction
command. The command attempts to fix all SLT and XPath mappings in the project to be XPath 2.0 compliant.-p
The file path to the TIBCO BusinessEvents Studio project to be migrated Note: You cannot undo the changes after executing this command.For example:studio-tools -core migrateMapperFunctions -p c:\MyWorkspace\SomeProj