XSLT and FOP

I was given the job of creating a pdf using FOP and XSLT yesterday and since I had never used either before to any great degree I had resigned myself to several days of googling but I managed to all but finish it today. It was surprisingly easy to get the bulk of the formatting done but due to FOP’s lack of support for widows and orphans the rest will be a bit harder.
I also had a lot of trouble trying to get “analyze-string” to work. I eventualy fudged a regex of my own using “substring” and it seems to do the trick

Leave a Reply

Your email address will not be published. Required fields are marked *