On Thu, 5 Jun 2003, Patrick Eisenacher wrote: > Hi Elfyn, > > unfortunately I'm less fortunate with the new libxslt package than > Andreas. I cannot translate a simple xml document to html with the new > version of xsltproc. Here are some infos: > [...]
Patrick, I've upgraded the Cygwin LibXSLT package to 1.0.30-1 and xsltproc now works with the DocBook stylesheets. Your simple test and a few others I have tried were all successful. --- CUT HERE --- <?xml version="1.0" standalone='no'?> <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> <article class="specification" lang="en" vendor="Fillmore Labs" revision="0.4"> <section id="objectives"> <title>Objectives</title> <para> The following chapters describe the required functionality of release 1. </para> </section> </article> --- CUT HERE --- [EMAIL PROTECTED] xml2tests]$ xsltproc -version |grep ^xsltproc xsltproc was compiled against libxml 20507, libxslt 10030 and libexslt 720 [EMAIL PROTECTED] xml2tests]$ xsltproc -catalogs /netrel/sandbox/xml-cat/html/docbook.xsl \ > t/proc-xml/basic6.xml >t/ex-html/basic6.html Variable $SGML_CATALOG_FILES not set [EMAIL PROTECTED] xml2tests]$ cat t/ex-html/basic6.html |tidy -i -c -ashtml <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> [...] Elfyn -- Elfyn McBratney (mailto:[EMAIL PROTECTED]) Systems Administrator ABCtales.com / Ubertales.co.uk -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/