XSL-FO or HTML/CSS
Posted: Thu Jul 29, 2021 12:13 pm
Hello,
This might be a newbie question, but I couldn't really find a good answer, so here goes:
Regarding publication from XML to PDF, I was wondering in what situations should you use XSL-FO over HTML/CSS? I understand the technical differences pretty well, but in practical terms I'm a bit confused about the advantages and disadvantages of each approach? Are there any good rules of thumb or such to decide which one to use?
I assume that if you plan to publish the same content in HTML as well, it's probably convenient to use HTML/CSS, since you can use the same CSS files for both publications?
But if I'm planning to publish just in PDF, is XSL-FO preferred? If yes, why? Or why not? Is it just a matter of preference?
This might be a newbie question, but I couldn't really find a good answer, so here goes:
Regarding publication from XML to PDF, I was wondering in what situations should you use XSL-FO over HTML/CSS? I understand the technical differences pretty well, but in practical terms I'm a bit confused about the advantages and disadvantages of each approach? Are there any good rules of thumb or such to decide which one to use?
I assume that if you plan to publish the same content in HTML as well, it's probably convenient to use HTML/CSS, since you can use the same CSS files for both publications?
But if I'm planning to publish just in PDF, is XSL-FO preferred? If yes, why? Or why not? Is it just a matter of preference?