> Christian Neuroth wrote: >>The only thing that I am missing, is a render class for HTML as >>we are also >>in need of a HTML doc. Does anyone have a solution for this?
Ralph Butterweck's explanation pretty much nailed it (note the link to RenderX's fo2html stylesheet page): > There is a XSLT-stylesheet for FO->HTML transformation: > http://www.renderx.com/fo2html.html > > first step: XML+XSL->FO > second step: FO +XSL ->HMTL > > Hope thats help Having never done XML=>HTML before, these two simple steps worked surprisingly well for me. Here's how I transformed my XML & XSL files into HTML using the xalan.bat file included (thanks!) with FOP (watch wrap): NOTE: xalan command line arguments: xalan.bat -in <XML-IN-FILE> -xsl <XSLFILE> -out <OUTFILE> *-=- STEP 1 -=-* C:\PROGRA~1\Java\FOP-02~1.4> xalan.bat -in c:\path\to\xml\test_MIWC_1.2.XML -xsl c:\path\to\xsl\xml_med7_MIWC.fo -out test_MIWC_1.2.fo *-=- STEP 2 -=-* C:\PROGRA~1\Java\FOP-02~1.4> xalan.bat -in c:\path\to\xml\test_MIWC_1.2.fo -xsl c:\path\to\xsl\fo2html.xsl -out test_MIWC_1.2.html Like the results from using FOP to transform XML to "-txt" (not really that useful), the result is not generally desirable, however, it provided output that was at least somewhat useful. I could certainly tweak the output a bit and make it "pretty". I doubt it would take much to have FOP do this (in theory at least ;-p), but you can already use XALAN to use this, so why bother. The argument against doing this is similar to the argument against having FOP output the *.fo file used to output the PDF (something else for which xalan is useful). -- Clay Leeds - [EMAIL PROTECTED] Web Developer - Medata, Inc. - http://www.medata.com PGP Public Key: https://mail.medata.com/pgp/cleeds.asc --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
