How to generate a PDF report using xsl??

anand

Well-known member
Joined
Jan 29, 2003
Messages
76
Location
chicago
Hi friends
pls give me a idea how to create a PDF report from xml/xsl??
i want to create a pdf report which will display data from webpage(.aspx)..or from database....pls give me a idea how to do that??
Thank you
satya
 
Hi pls give me a idea abt xsl-fo..whst steps i have to follow to geneate PDF reports with xsl-fo.......
pls give me a idea how to use xsl-fo.....

Thank you
satya
 
Yeah, thats the problem. I dont think theres an XSL-FO parser in the framework. It only supports XSLT as far as I know. Ive used Apaches FOP before, which is well-documented over on the Apache site. Id be surprised if there isnt a 3rd party component out there somewhere, otherwise maybe you could use Crystal Reports to generate the PDF instead?
 
thank you for ur help..u mean can i use cryatsl reports viewer to export crystal report to PDF report??..i already worked on that ..i created PDF reports using crystal reports in .net environment...but i want to generate PDF reports in a web application with my own styles.....atleast pls give me a idea how to use XML /XSLT to generate PDF reports in asp.net.....
Thank you for ur time...
Satya
 
I dont know about Crystal...

We are trying out two products that handle XSL-FO right now. I can get the names if you like. So far, its been pretty straightforward and the resulting PDFs are perfect.

In the past, Ive used ActivePDF (another 3rd party tool) to create PDFs. They were the best of the 3 or 4 I tried out, but that was about 2 years ago, give or take.

There is no built-in support (in .NET) for PDF generation. Last I remember (this is kind of vague I know :)), to generate PDFs required a license from Adobe or you could use a 3rd party tool that was Royalty Free (because they paid Adobe).

Good Luck! Be sure and let us know what you choose, if you figure something out :)

-Ner
 
You cant. XSLT is just a simple transformation language. You need the FO (formatting objects) for the composition required for PDF. Maybe someone else will come up with another alternative. The Crystal components in .NET should work just as well for ASP.NET. They even include a report viewer control for the web.
 
Lot of thanks
Can u pls give me a idea how to use Active PDF with .net...
pls send me a sample code which uses active PDF...
Thank you
Anand
 
Were you asking me or...?

Youll have to buy a license to use ActivePDF (thought they may offer a free trial). With it, they have lots of samples.

Im not sure if theyve created a .NET version - when I used it, it was in VB6 (a COM DLL).

The XSLT formatting objects (or whatever theyre called) ARE for .NET, but Ill have to ask the guy whos using them who makes them if you want to know...

-Nerseus
 
Back
Top