Subject:Plug in a newer version of Xalan for XSLT debugging Author:David Karr Date:14 Nov 2005 12:28 PM
(I've tried to send this a couple of times before, and it never got to
the forum. I apologize if this is a duplicate.)
Stylus Studio allows the use of Xalan 2.5.2, allowing full debugging.
It would be nice if we could plug in a newer release of Xalan (2.7.0,
for instance), especially if we're using that release in our
applications.
Subject:RE: Plug in a newer version of Xalan for XSLT debugging Author:David Karr Date:14 Nov 2005 01:21 PM
That's good to know, but just so it's clear, I wasn't asking whether
you're going to upgrade to Xalan 2.7.0, I wanted to know whether I can
essentially do it myself, by plugging in a different version of Xalan.
I imagine the answer is no, but consider this a feature request. The
JAXP interfaces are built so that you can easily change to use a
different implementation version of your Transformer hierarchy. I'm
asking for the ability to do the same in Stylus Studio.
> -----Original Message-----
> From: stylus-studio-feature-requests Listmanager
> [mailto:stylus-studio-feature-requests.listmanager@stylusstudio.com]
> Sent: Monday, November 14, 2005 10:16 AM
> Subject: Plug in a newer version of Xalan for XSLT debugging
>
> From: "Clyde Kessel"
>
> Thanks very much for the feedback (and perseverence), David.
> We do plan to upgrade to Xalan 2.7 in an upcoming release.
>
> Clyde Kessel
Subject:RE: Plug in a newer version of Xalan for XSLT debugging Author:(Deleted User) Date:14 Nov 2005 01:47 PM
You can use the command-line interface of any XSLT processor. Open your .xslt file in Stylus Studio and then open the scenario dialog. On the processor tab, you can select "custom" in the drop-down box, and away you go.
Stylus Studio provides a lot of added value: an XSLT debugger, back-mapping, profiling, etc. These features are not available through the standard JAXP interface. We can only provide them by integrating our code very tightly with each individual XSLT processor. Alas, if you want to use our debugger with Xalan 2.7, you will have to wait until we do that integration job.
If you are using the XSLT Java Code Generation feature to create a Java application to run your .xslt, you should be able to run using any JAXP xslt processor by simply putting the correct java classname into the generated .java file and making sure your classpath has the right .jar.