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
Go to previous topicPrev TopicGo to next topicNext Topic
Midas WangSubject: Use a user-defined adapter as built-in adapter
Author: Midas Wang
Date: 13 Dec 2006 09:06 PM
I want to use a user-defined adapter in the way as a built-in adapter. That's to say without having to include the full .conv file path, just using a adapter name.


Ivan PedruzziSubject: Use a user-defined adapter as built-in adapter
Author: Ivan Pedruzzi
Date: 14 Dec 2006 03:25 PM


If you need to express a relative path for the .conv file you can use


If you rather want to invoke a user defined conversion programmatically you can use the following function

public Converter newConvertToXML(StreamSource conversion)

Where StreamSource can be initialize to any java stream containing .conv file

See the Javadoc at

Hope this helps.
Ivan Pedruzzi
Stylus Studio Team

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!  

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.