XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Posttop
Ramya NSubject: No Topic
Author: Ramya N
Date: 25 Apr 2003 06:01 AM
Hi,

I recently installed Stylus 4.6. Finding it very useful. But I have run into a problem. I have to map 2 XMLs. The process involves using complex java functions. So , for a trial
i created a Java class with a simple function given below :

public class Functions
{
private String newData;
public String convertForm(String oldData)
{
if(oldData == "SW")
newData = "Software";
else if(oldData == "HW")
newData = "Hardware";
else if(oldData == "DV")
newData = "Developer Guide";
else if(oldData == "QA")
newData = "Testing";
else
newData = "Others";
return newData;
}
}

I want to use this function in an XML to XML mapping XSL. I registered this class Functions following the steps given in the Help Documentation (Help Menu). But when i click on the XSLT Functions in the pop up, the function convertForm does not appear in the list of functions.
Any ideas??

Would appreciate a quick reply please.

Thanks in advance

Ramya.

 
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.