[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: --- Potential SPAM ---: Re: Problem Running
Geert Josten <Geert.Josten@dai dalos.nl> To xsl-list@xxxxxxxxxxxxxxxxxxxxxx 12/14/2004 01:34 cc PM Subject --- Potential SPAM ---: Re: Please respond to Problem Running Dave Pawson's xsl-list@xxxxxxxx Example Code from XSL-FO lberrytech.com Thank you for taking the time to write. I have been having so many problems with building tables I finally resorted to these examples from Dave Pawson's book XSL-FO. The effort was to run someone elses code to see just how screwed up mine was. Dave slowly built his lessons to chapter 10 and the files were the result of his template management and style of coding. pl.xsl is the page layout, ps.xsl is the property sets and main.xsl is the template that imports the other these in order to run. He wrote the book in 2002 and was not using FOP to test with. Anyway, I have finally been able to produce tables after flattening my head a bit. I don't think Dave's stuff will run under FOP, but unless he picks up on this and checks it out, I don't think it's worth the effort for others. Again, thanks for taking the time to check it out. Sincerely, Curtis Fisher Hi there, I am confused on how the system is supposed to work. The ps.xsl you supply does not contain xsl at all. So why do you import it? And if I just apply main.xsl to book.xml (xalan or else), I don't get a well-formed document returned. Am I missing something? Cheers, Geert cfisher@xxxxxxx wrote: > I am trying to use an example from Dave Pawson's book XSL-FO from chapt 10. > I am having problems with FOP blowing up with a Null Pointer exception on > the class and function of: CommandLineStarter.run(...). > > I am using FOP 20.5 and running these files with ithe command line: > fop -d -xsl main.xslt -xml book.xml -pdf output.pdf > > Would someone else be kind enough to run these on their system and let me > know what the results were? I have some other files that approximate this > same behavior so I used his example to trace what I thought was my problem, > and his stuff won't run either, so I am a bit flummoxed... > > Thank you, > > Curtis Fisher
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|