Re: [css2xslfo-support] producing empty FO output
Brought to you by:
wdonne
From: <aro...@cl...> - 2008-10-15 20:53:26
|
Hi Brad, That gives me a clue. Perhaps I'm misunderstanding what css2xslfo is supposed to do. I've looked at PrinceXML and "Flying Saucer" both of which produced a pdf of the xml source file and honored "page-brake-inside" directives. Why should I have to mark up my CSS and XML with various regions? I could see how it would be useful for footnotes and book printing but why am I forced to add these? I noticed that the "manual.xhtml" that comes with the css2xslfo download has many @page directives with regions and the like. It's able to parse and produce an fo when I invoke a similar command from the terminal. I looked through the css2xslfo manual and nothing jumped out at me as to why I'd have to set regions... I *could* probably get permission to post our .css file but I'd prefer to understand what minimum elements I'd need to setup in it. I could probably just do that without you having to look over some alien .css file. Thanks, -- Aaron Brad Clements <bk...@mu...> wrote on 15-10-2008 03:39:30 PM: > It's difficult to answer your question w/o see what's in the > visitDump.css file. > > css2xslfo has to be told what data is 'the body' of each page, which > data goes into various regions, etc. > > > aro...@cl... wrote: > > > > Hi, > > > > I'm just getting started trying to use css2xslfo. At the moment, I > > just want to see it produce an FO document but I'm getting a file with > > zero bytes. > > > > I tried the following: > > > > java -Dbe.re.stack -jar css2xslfo1_6.jar visitDump.xml -fo visitDump.fo > > > > I don't get any warnings of any sort. It chugs away but then creates > > an empty "visitDump.fo" file. > > > > The xml source file is not xhtml, just pure xml. It looks something > > like so: > > > > <?xml version="1.0" encoding="UTF-8"?> > > <?xml-stylesheet href="visitDump.css" type="text/css" media="all"?> > > <visits> > > <protocol> > > <protocol_descriptor>Hello</protocol_descriptor> > > ... > > </protocol> > > ... > > </visits> > > > > Ultimately I'd like to connect it to FOP to produce a PDF but right > > now, I'm not able to get it to do the FO part yet. Any ideas on what I > > might be missing? > > > > Thanks in advance, > > -- Aaron > > ------------------------------------------------------------------------ > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer'schallenge > > Build the coolest Linux based applications with Moblin SDK & win > great prizes > > Grand prize is a trip for two to an Open Source event anywhere in the world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > css2xslfo-support mailing list > > css...@li... > > https://lists.sourceforge.net/lists/listinfo/css2xslfo-support > > > > > -- > Brad Clements, bk...@mu... (315)268-1000 > http://www.murkworks.com > AOL-IM: BKClements > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > css2xslfo-support mailing list > css...@li... > https://lists.sourceforge.net/lists/listinfo/css2xslfo-support |