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 (1171)
- Stylus Studio Technical Forum (14498)
-> - HP Printer Support (1)
-> + Stylus Studio X16 Professional... (5)
-> + Stylus Studio X16 Enterprise -... (4)
-> - Overly complicated formatting ... (1)
-> + java apparently running, canno... (2)
-> + Stylus on Citrix - unable to v... (6)
-> + XSLT and XPath Questions (New ... (13)
-> + EDIFACT D96A CONTRL XML schema (2)
-> + 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)
-- [1-20] [21-40] [41-60] Next
+ Website Feedback (244)
+ XSLT Help and Discussion (7594)
+ XQuery Help and Discussion (1944)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (364)
+ Stylus Studio Announcements (113)
Topic  
Postnext
Guy WeinbergSubject: Convert XSL to XSL:fo
Author: Guy Weinberg
Date: 09 Nov 2005 06:02 AM
Hi

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?

Thanks

Guy Weinberg

Postnext
(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

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

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?
Thanks,

-- Shaul

Postnext
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

Posttop
(Deleted User) Subject: Convert XSL to XSL:fo
Author: (Deleted User)
Date: 09 Nov 2005 02:24 PM
Shaul,
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!  
go

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.