Subject:Cannot preview XSL transformations at all (no browser, no PDF) Author:Joe Karbowski Date:30 Jul 2007 12:27 PM
I just downloaded the tool to evaluate, and am looking at the example file. If I select the XSLFormattingObjects branch and the catalog.xsl file, and try to preview, I get a message:
In order to activate the RenderX XEP ...
I get an "allow/block" popup from Windows Vista and allow it. It seems to run, but in the trace (or whatever) window I get:
Post processing starting...
java.lang.NoClassDefFoundError: com/renderx/xep/XSLDriver
Exception in thread "main" ...post processing finished
So i am guessing it didn't install.
2nd problem - I simply try to preview in browser by hitting the little IE logo on the preview window, and that shows nothing. I searched the forums and didn't find any similar errors. I've got a little time left to pick a tool, and can't do it if I can't preview :-).
Subject:Cannot preview XSL transformations at all (no browser, no PDF) Author:Ivan Pedruzzi Date:31 Jul 2007 01:46 AM
Hi Joe,
Could you please verify to have the following folder?
c:\Program Files\
--- Stylus Studio 2007 XML Enterprise Suite Release 2\
----- bin\
------- Plugins\
--------- renderx
If you don't it means that Stylus Studio tried to download RenderX on the first run and it didn't succeed, for example because the Vista firewall configuration.
Subject:Cannot preview XSL transformations at all (no browser, no PDF) Author:Joe Karbowski Date:31 Jul 2007 03:15 PM
Thanks - the adobe preview is working. For some reason I still cannot view in the browser (by clicking IE icon). Any thoughts w/ that? It is important for our project to view this in a browser, not PDF.
Or since I am a new user, maybe I am doing something wrong?
Subject:Cannot preview XSL transformations at all (no browser, no PDF) Author:Tony Lavinio Date:31 Jul 2007 11:52 PM
RenderX is used to produce XSL-FO, which RenderX XEP turns into a PDF.
Most likely you are using Adobe Acrobat to display it, whether embedded
in a browser or not. The output will be the same.
When it is served by the web server to the user, the MIME type will tell
the browser how to display it. If you send it as "application/pdf" and
the user has Adobe Acrobat installed, both IE and Firefox will open a
window with the PDF embedded in it.
Subject:Cannot preview XSL transformations at all (no browser, no PDF) Author:Joe Karbowski Date:01 Aug 2007 12:25 AM
I wonder I am misunderstanding the Stylus product. I am looking for a tool that will allow me to create XSL styles (ideally in a pseudo-wysiwyg) that I can apply against data and preview the results in a browser. I don't really need PDFs. Is there a way to do a preview of applying the XSL style to a data set within tool, or do I need to save the XML, save the XSL, and write a script to run it through the MS XML parser etc to preview it. I thought this tool helped w/ that so I could preview it in a number of ways.
Thanks for the responses - maybe I am just mis-understanding.
Subject:Cannot preview XSL transformations at all (no browser, no PDF) Author:Tony Lavinio Date:01 Aug 2007 12:04 PM
I think you have the right tool, but started down the wrong
path. :) XSL-FO is for generating PDFs, and since your first
question was about RenderX XEP which is used for that, the
assumption on our part was that was what you wanted. So,...
You want to use the XML Report module, but instead of sending
the output to XSL-FO/PDF, send it to HTML+CSS. This will generate
the XSL that you need. You can then use that with your browser,
and preview it directly in Stylus Studio during development.
Subject:Cannot preview XSL transformations at all (no browser, no PDF) Author:Joe Karbowski Date:01 Aug 2007 04:34 PM
Ah - I see what was happening. I assumed the "preview" button would be ubiquitous in an HTML rendering and then you could show PDF etc if you wanted. In the samples app, the catalog.xsl was setup to post process into a PDF. I was just looking for HTML example, but picked the wrong one.