Subject:plugins? Author:Anonymous Date:18 Jun 2001 01:21 PM
I noticed some reference to plugins, and I
don't quite understand how plugins work...
is it possible to write our own plugins?
I need to write extensions which have
access to the XML document, to do things
like inserting id's into all XML elements,
or verifying that the values of attributes
conform to a certain syntax.
Subject:plugins? Author:Minollo I. Date:18 Jun 2001 06:42 PM
On 6/18/01 1:21:04 PM, Anonymous wrote:
>I noticed some reference to plugins, and I
>don't quite understand how plugins work...
>is it possible to write our own plugins?
The term "plugin" in Stylus Studio is currently used just to reference the various modules that are available inside the application (XML editor, XSLT editor, Java editor/debugger). Currently we are not exposing the interface to create new plugins, but that may change in the future.
>I need to write extensions which have
>access to the XML document, to do things
>like inserting id's into all XML elements,
>or verifying that the values of attributes
>conform to a certain syntax.
>Is this possible?
Yes, that's possible using XSLT Java extensions (that's a concept different from plugin). You can read the documentation about this topic and take a look at a couple of simple examples shipped with the application.
Subject:plugins? Author:Anonymous Date:20 Jun 2001 01:17 PM
I took a look at the java XSL extensions
thing, it looks very cool. But it seems
like it's more geared towards producing an
output file (as XSL usually is) rather than
editing the current xml file.
Is there a way to have the XSL applied to
an open XML document that is being edited,
so that it could just be saved?
Subject:plugins? Author:(Deleted User) Date:11 Jul 2001 07:53 AM
>I noticed some reference to plugins, and I
>don't quite understand how plugins work...
>is it possible to write our own plugins?
Not now; with the term "plugins" we refer to an internal module of Stylus. We are considering if publishing the interface between Studio and the plugin could be of interest for the users. In any case the role of a plugin will always be to edit a specific type of file (like Java, XSL or XML) inside the Studio IDE.
>I need to write extensions which have
>access to the XML document, to do things
>like inserting id's into all XML elements,
>or verifying that the values of attributes
>conform to a certain syntax.
This seems to be the work for an XSL extension function (written in Java); look at the example in the directory javaExtension for an example.