Vadim Chekan wrote:
Idea is:
1. install any xsl:fo processor. (I used FOP
http://xml.apache.org/fop/index.html)
1. Create your xsl:fo - formatted file using .net
2. run process "java <bla-bla/fop>" with path to your file and output
file as parameters
3. pick up result from output file.
That's ok ok for toy applications as it's extremely unreliable and
doesn't scale either. If you up to escape to java and FOP, then
reasonable architecture is installing tomcat and run FOP in a servlet or
even tomcat+axis and run FOP as web service. Let alone much better
design and lack of coupling it's also much more effective from
performance point of view and scales well too.
--
Oleg Tkachenko
http://www.tkachenko.com/blog
Multiconn Technologies, Israel