|
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
|
XQuery Debugger
The Stylus Studio XQuery Debugger allows you to set breakpoints and step through the evaluation of any XQuery expression in a way that gives you complete control and visibility into the XQuery expression evaluation process.
XPath Generator
Stylus Studio includes an XPath generator that helps you easily create XPath expressions. This page illustrates how you can accomplish this.
Saxon XSLT Processor
Stylus Studio® has partnered with Saxonica, a leading provider of Java-based XSLT and XQuery processing components to offer a robust XSLT 1.0 and 2.0 development environment, featuring development and deployment using the Saxon XSLT processor.
Insurance Companies That Use Stylus Studio
Everyone needs insurance, even insurance companies. That's why these top insurance companies are insured when it comes to XML. Come see which insurance providers are insured by the power of Stylus Studio!