|
Home >Online Product Documentation >Table of Contents >Defining Java Functions in the XSLT Mapper Defining Java Functions in the XSLT MapperYou can write your own Java functions and use them when you map nodes. To define your own functions:
1. Ensure that a Java virtual machine is running locally.
2. Create the class file for your function. See About Adding Java Class Files for more help with this step.
3. Display the Mapper tab in the XSLT editor, if necessary.
4. Right-click the mapper canvas.
5. In the pop-up menu that appears, select Java Functions > Register Java Extension Class.
6. In the Java Class Browser dialog box that appears, navigate to and select the Java class that provides your function.
7. Click OK in the Java Class Browser dialog box.
Now when you select Java Functions from the mapper short-cut menu, the list of functions includes the function you registered. About Adding Java Class Files
The class file must be in your |
Key Benefits of DataDirect XML Converters
Learn how DataDirect XML Converters were created to maximize XML developer productivity, push innovation, and provide unquestioned value.
XQuery API for Java (XQJ)
DataDirect XQuery is an embeddable software product based on the XQuery and XQJ standards that enables Java developers to access both relational and XML data sources using a single XQuery query. Runs on Oracle, SQL Server, DB2, and more!
XML Unicode Encoding
Stylus Studio supports over 300 different file encodings, including UTF-8, UTF-16, EUC-JP, SHIFT-JIS, and more, alowing you to work with any XML document. Robust text editors support standard editing features, and Sense:X intelligent auto-completion.
Web Service Data Mapping
Stylus Studio makes it possible for you to use Web services as live XML data sources for XML mapping projects.


