This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
RE: Re: Using fo-patch-for-fop.xsl and question abo utXHTML namespaces
- From: "Bradford, Denis" <denisb at rational dot com>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Wed, 09 Jan 2002 09:04:21 -0500
- Subject: RE: DOCBOOK-APPS: Re: Using fo-patch-for-fop.xsl and question abo utXHTML namespaces
> How on earth do I use the fo-patch-for-fop.xsl file? I've searched the
> sourceforge site and have found no information about the patch at all
In case an example helps, here's the test transformation I ran yesterday.
This particular chain uses Saxon, Norm's entity resolver, and Apache's FOP:
1. Create first fo file
java -Djavax.xml.parsers.DocumentBuilderFactory=%DBFACTORY%
-Djavax.xml.parsers.SAXParserFactory=%SPFACTORY% com.icl.saxon.StyleSheet -r
com.sun.resolver.tools.CatalogResolver -x
com.sun.resolver.tools.ResolvingXMLReader -o test-a.fo test.xml
D:\docbookxsl\fo\docbook.xsl
2. Apply Norm's fix, creating new fo file
java -Djavax.xml.parsers.DocumentBuilderFactory=%DBFACTORY%
-Djavax.xml.parsers.SAXParserFactory=%SPFACTORY% com.icl.saxon.StyleSheet -r
com.sun.resolver.tools.CatalogResolver -x
com.sun.resolver.tools.ResolvingXMLReader -o test-b.fo test-a.fo
D:\docbookxsl\fo\fo-patch-for-fop.xsl
3. Run FOP
java org.apache.fop.apps.Fop testa.fo testa.pdf
Denis