What do people currently recommend in order to publish the same document both in printable form, and as HTML?
I need to be able to be able to control the style of the print and HTML versions. The print version should ideally be available as RTF or as PDF and the HTML output should use a stylesheet (CSS). Both formats will need to be able to include images.
I am currently using a word processor to do the print version and using paragraphs styles so that HTML conversion is pretty easy, but there is still a little fixing up to do at the end.
What I am hoping to be able to do instead is to write in a content language (XML or SGML) and then convert that to the relavent output format with an automatic processor that applies a stylesheet.
So, what do you recommend?
Steve.
Steve Fosdick wrote:
What I am hoping to be able to do instead is to write in a content language (XML or SGML) and then convert that to the relavent output format with an automatic processor that applies a stylesheet.
just a quick answer, I've done a fair amout of XML in the past, I wouldn't call myself a guru though..... XML is definatly the way to go imho. If you mark up all the content in XML, and write dedicated XSLT translators to convert the XML into HTML/PDF/RTF, you will be able to add a different XSLT translator at a later date, for exampel to convert your XML into WML or iDTV !!... you might even find there are already some examples out there...
Sz