Re: [css2xslfo-support] Re : newbies convert xhtml to xslfo
Brought to you by:
wdonne
From: <wer...@re...> - 2007-11-05 08:10:52
|
Hi Hoang-Vu, You can specify a catalog on the command-line with the "-c" option. In the catalog you can write the following: PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "xhtml1/xhtml1-strict.dtd" SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" "xhtml1/xhtml1-strict.dtd" PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "xhtml1/xhtml1-transitional.dtd" SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" "xhtml1/xhtml1-transitional.dtd" PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "xhtml1/xhtml1-frameset.dtd" SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd" "xhtml1/xhtml1-frameset.dtd" The relative URLs are relative to the catalog URL. So, if you have a directory dtd in which you have dtd/catalog en the directory dtd/xhtml1, you can write: java -jar css2fopnew.jar -c dtd/catalog ... Best regards, Werner. Hoang-Vu PHUNG wrote: > Hi Werner, > > Thanks for your response. I have another question regarding how to prevent from loading external DTD > automatically: Because if i have a xhtml document with the following DOCTYPE > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict //EN" http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd>, it will try to connect to the server www.w3.org. > > Thanks again, > Rgds > Hoang-Vu > > ----- Message d'origine ---- > De : Werner Donné <wer...@re...> > À : Hoang-Vu PHUNG <hvu...@ya...> > Cc : css...@li... > Envoyé le : Jeudi, 1 Novembre 2007, 23h19mn 19s > Objet : Re: [css2xslfo-support] newbies convert xhtml to xslfo > > Hi Hoang-Vu, > > You should declare the XHTML namespace on the html > element. It is "http://www.w3.org/1999/xhtml". > > Best regards, > > Werner. > > > _____________________________________________________________________________ > Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > css2xslfo-support mailing list > css...@li... > https://lists.sourceforge.net/lists/listinfo/css2xslfo-support > -- Werner Donné -- Re http://www.pincette.biz Engelbeekstraat 8 http://www.re.be BE-3300 Tienen tel: (+32) 486 425803 e-mail: wer...@re... |