logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: XSL-FO stylesheets for PDF: msg#00048

Subject: Re: XSL-FO stylesheets for PDF
Whoa, boy... That went deeper than I had thought :)
 
I'm not that up to par on xhtml and different "modern" stuff :) but xslt would produce xhtml for sure. I've looked around the HtmlPrettyFormatter (or whatever it's called) and it didn't seem that complex to me so I'm a little unsure what gains could be made.
 
But ... geez, after a long day writing software I really don't like to think too much :) ... suppose you'd like to have different transformations for different documents. Say that with the flick of a switch you could take an article and get an entirely different look, then I suppose xslt would be a very interesting concept. It would be very "template"-native.
 
What exactly do you mean when you're talking about HTML? Embedding html tags in the document?
 
I suppose you'd also be able to "customize" the article layout for end users more easily, without necessarily digging into the CoWiki internal css files too much.
 
But my experience with xml and its related technologies has been pretty limited so far.
 
I'll try to get a diff with the changes I made for XmlPrettyPrinter too as soon as I can.
 
regards
Mats Gefvert
----- Original Message -----
Sent: Wednesday, April 27, 2005 5:33 PM
Subject: Re: [cowiki-issues] XSL-FO stylesheets for PDF

Mats--

I will look at what you've done but I can tell you without looking that I am "interested"!

A question for you--  coWiki uses the classes in class/render to transform the internal document for output.  In the case of a coWiki page, the html generated here is included into a template document for actual display.

It seems to me that we should be able to use XSLT for these transformations, and it should be faster because it would be done by PHP's internal libraries.  Couldn't we also then apply different transformations, depending on the root type of the encoded document (for example to limit HTML documents to content we deem "safe").

The primary advantage I see for the team is that it would be less code to support.  Am I off the deep end of the pool?

Paul

Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>