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
Conferences Close Tree View
+ Stylus Studio Feature Requests (1175)
- Stylus Studio Technical Forum (14538)
-> + PDF Format Help (4)
-> + License check unreliable (2)
-> - XML related issue (1)
-> + Need help regarding pipeline o... (2)
-> + Error converting XML to EDIFAC... (4)
-> + XSLT Profiling for XSLT 1.0 s... (2)
-> + Grouping (2)
-> - Best Toner for Sensitive Skin (1)
-> + Best Practice for Pipeline err... (2)
-> + pdf generation (4)
-> + Problems excuting a Pipeline w... (2)
-> + XML serializer (3)
-> + Supported EDIFACT versions (5)
-> - Anyone know XActimate ESX file... (1)
-> + Stylus Studio with OpenJDK (2)
-> - Encoding error when importing ... (1)
-> - SEO Service in Delhi, India (1)
-> - HP Printer Support (1)
-> + Stylus Studio X16 Professional... (5)
-> + Stylus Studio X16 Enterprise -... (4)
-- [1-20] [21-40] [41-60] Next
+ Website Feedback (247)
+ XSLT Help and Discussion (7614)
+ XQuery Help and Discussion (1946)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (364)
+ Stylus Studio Announcements (113)
Guy WeinbergSubject: Convert XSL to XSL:fo
Author: Guy Weinberg
Date: 09 Nov 2005 06:02 AM

Is there a way to open an XSLT file in Stylus and generate an XSL:FO file from it?
In other words, can Stylus transform an XSLT file to an XSL:FO file?


Guy Weinberg

(Deleted User) Subject: Convert XSL to XSL:fo
Author: (Deleted User)
Date: 09 Nov 2005 08:10 AM
Guy, We think you are trying to convert apples to oranges.

An XSLT file (the T stands for transformation) is a set of rules to transform one file (XML) to another file (XML, HTML, XSL:FO, etc).
XML, HTML, XSL:FO files are the data files (although HTML and XSL:FO) also contain formatting information.

Normally, an XSLT file contains no data, just transformation rules.
An XSL:FO file contains data and formatting information. So what would it mean to convert the XSLT file to an XSL:FO file? Where would the data come from?

Clyde Kessel

Shaul DarSubject: Convert XSL to XSL:fo
Author: Shaul Dar
Date: 09 Nov 2005 08:52 AM

I work with Guy, and here is our problem. We have been using Altova's StyleVision to create report template, and present them in both HTML (through XSLT) and PDF (through XSL:FO). StyleVision knows how to create both transformations from the same "design" (for lack of a better term).As you know, the design is created in their propietary SPS representation.

We are considering switching to InfoPath for creating the "design" (since it is a much simpler WYSIWYG tool) and generating the XSLT, but need an XSL:FO definition to go with it (the actual rendering can be done by many tools, such as renderx). This is required for PDF output, controling pagination, having non-trivial headers and footers etc.

We considered using StyleVision for this, as you suggest in http://groups.google.com/group/microsoft.public.office.xml/browse_thread/thread/97171513acf21ebc/4223f2151b0ffb39. But we do not want to create the XSL:FO transformation from scratch, rather we would love to have a way to generate it from the existing XSLT transformation + the XML data (to answer your question on where the data would come from).

Can Stylus or any other tool you know of accomplish that?

-- Shaul

Shaul DarSubject: Convert XSL to XSL:fo
Author: Shaul Dar
Date: 09 Nov 2005 08:53 AM
Sorry, I meant "We considered using Stylus..."

-- Shaul

(Deleted User) Subject: Convert XSL to XSL:fo
Author: (Deleted User)
Date: 09 Nov 2005 02:24 PM
We are not aware of any tool which will read your XSLT or HTML and automatically convert it to another XSLT for generating XSL:FO.
You can, of course, use Stylus to build the desired XSLT yourself.

Sorry for all the confusion,
Clyde Kessel

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.