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 (1169)
- Stylus Studio Technical Forum (14457)
-> + JDK dropdown box empty and Jav... (2)
-> + Replacing XSD files in Report (4)
-> + Cannot locate WYSIWIG tab on X... (3)
-> + EDI X12 xml schema with segmen... (2)
-> + Error Message (4)
-> + jvm disabled message keeps pop... (2)
-> + XTSE0620: An xsl:param element... (3)
-> + Fail in installing ďApache FOP... (5)
-> - Jenkins: about the path of bui... (1)
-> + problem with Stylus X15 XML RE... (2)
-> + Cannot remove a row into a tab... (6)
-> + prevent the meta data from bei... (3)
-> + Unable to auto detect JRE in X... (2)
-> - Unable to auto detect JRE in X... (1)
-> - where to find information (1)
-> + X16 - XPath 3.0, XQuery 3.0, X... (2)
-> - Test (1)
-> + XSLT debugger shows [symbol u... (3)
-> - How do i use *.conv to process... (1)
-> - How do i use *.conv to process... (1)
-- [1-20] [21-40] [41-60] Next
+ Website Feedback (244)
+ XSLT Help and Discussion (7593)
+ XQuery Help and Discussion (1942)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (363)
+ 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.