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
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext 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

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
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.