Re: [css2xslfo-support] No output from CSStoXSLFO.convert(...)
Brought to you by:
wdonne
From: <wer...@re...> - 2006-11-13 10:00:26
|
Hi Conny, You are trying to replace the User Agent style sheet. Is this what you want or do you want to link your document to your style sheet? If you want to replace the UA style sheet, you have to define style sheet rules for everything. The reason you get no output is that there should be one element which has the "region" property set to "body". In the built-in UA style sheet the element "body" has this property. Best regards, Werner. Cornelius Hald wrote: > Hi, >=20 > I'm trying to use CSStoXSLFO in my project. Unfortunately it's not quit= e=20 > working as expected... Here is what I'm doing: >=20 > I'm trying to use: CSStoXSLFO.convert(input, output, cssUrl); but then = I=20 > always get 0-bytes output files. When I'm using=20 > CSStoXSLFO.convert(input, output, null) I get output but it is (of=20 > cause) formatted with the default css. >=20 > I don't get any exceptions and I'm sure the css file gets opened during= =20 > the program run. >=20 > I also tried using > CSSToXSLFO.convert(input, output, baseUrl, cssUrl, null, new HashMap(),= =20 > new URL[]{}, false, true); > to get some debug output, but I don't get it - or I'm too stupid to fin= d=20 > it... >=20 > So, what am I doing wrong here? I'm grateful for all hints and pointers= . >=20 > Best regards > Conny >=20 >=20 > -----------------------------------------------------------------------= -- > Using Tomcat but need to do more? Need to support web services, securit= y? > Get stuff done quickly with pre-integrated technology to make your job = easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geron= imo > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat= =3D121642 > _______________________________________________ > css2xslfo-support mailing list > css...@li... > https://lists.sourceforge.net/lists/listinfo/css2xslfo-support >=20 --=20 Werner Donn=E9 -- Re Engelbeekstraat 8 B-3300 Tienen tel: (+32) 486 425803 e-mail: wer...@re... |