On 19 Jun 2001 23:04:21 -0600, peti ban wrote:
> 
> I have used both the help of John and Weiqi, but it gives me the
> same error of page-sequence is missing an sequence-specification
> as I stated in my first mail.

Peti,

I saved the .fo file you posted at the beginning of this thread, and run
it through Fop.  And here's all the errors I encountered:

==========Session==========Session==========Session==========
[weiqi@gao-2001 weiqi]$ fop -fo aaaa.fo -pdf bbbb.pdf
FOP 0.19.0-CVS
using SAX parser org.apache.xerces.parsers.SAXParser
building formatting object tree
WARNING: A 'flow-name' is required for fo:flow. This constraint will be
enforced
 in future versions of FOP
WARNING: Unknown formatting object ^apply-templates
setting up fonts
formatting FOs into areas
 [1WARNING: page-number outside block area
]
rendering areas to PDF
writing out PDF
[weiqi@gao-2001 weiqi]$ vi aaaa.fo
[weiqi@gao-2001 weiqi]$ fop -fo aaaa.fo -pdf bbbb.pdf
FOP 0.19.0-CVS
using SAX parser org.apache.xerces.parsers.SAXParser
building formatting object tree
WARNING: Unknown formatting object ^apply-templates
setting up fonts
formatting FOs into areas
 [1WARNING: page-number outside block area
]
rendering areas to PDF
writing out PDF
[weiqi@gao-2001 weiqi]$ vi aaaa.fo
[weiqi@gao-2001 weiqi]$ fop -fo aaaa.fo -pdf bbbb.pdf
FOP 0.19.0-CVS
using SAX parser org.apache.xerces.parsers.SAXParser
building formatting object tree
setting up fonts
formatting FOs into areas
 [1WARNING: page-number outside block area
]
rendering areas to PDF
writing out PDF
[weiqi@gao-2001 weiqi]$ vi aaaa.fo
[weiqi@gao-2001 weiqi]$ fop -fo aaaa.fo -pdf bbbb.pdf
FOP 0.19.0-CVS
using SAX parser org.apache.xerces.parsers.SAXParser
building formatting object tree
setting up fonts
formatting FOs into areas
 [1]
rendering areas to PDF
writing out PDF
[weiqi@gao-2001 weiqi]$ xpdf bbbb.pdf 
==========Session==========Session==========Session==========

I suspect that the error stems from the "book" template of your xslt,
which you did not post.  Could you run just the XSLT transformation on
the XML file and post the pure .fo file?

You do this by adding $FOP_HOME/lib/xalan-2.0.0.jar into your CLASSPATH,
and run "java org.apache.xalan.xslt.Process -in foo.xml -xsl bar.xsl
-out foo.fo".

-- 
Weiqi Gao
[EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to