anand Posted March 19, 2003 Posted March 19, 2003 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 Quote Satya
Leaders quwiltw Posted March 19, 2003 Leaders Posted March 19, 2003 I don't *think* there's support for XSL-FO in .NET yet. There may be 3rd party libraries for it, I'm not sure. Quote --tim
anand Posted March 19, 2003 Author Posted March 19, 2003 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 Quote Satya
Leaders quwiltw Posted March 19, 2003 Leaders Posted March 19, 2003 Yeah, that's the problem. I don't think there's an XSL-FO parser in the framework. It only supports XSLT as far as I know. I've used Apache's FOP before, which is well-documented over on the Apache site. I'd be surprised if there isn't a 3rd party component out there somewhere, otherwise maybe you could use Crystal Reports to generate the PDF instead? Quote --tim
anand Posted March 20, 2003 Author Posted March 20, 2003 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 Quote Satya
*Experts* Nerseus Posted March 20, 2003 *Experts* Posted March 20, 2003 I don't 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, it's been pretty straightforward and the resulting PDFs are perfect. In the past, I've 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 Quote "I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
Leaders quwiltw Posted March 20, 2003 Leaders Posted March 20, 2003 You can't. 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. Quote --tim
anand Posted March 20, 2003 Author Posted March 20, 2003 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 Quote Satya
*Experts* Nerseus Posted March 20, 2003 *Experts* Posted March 20, 2003 Were you asking me or...? You'll have to buy a license to use ActivePDF (thought they may offer a free trial). With it, they have lots of samples. I'm not sure if they've created a .NET version - when I used it, it was in VB6 (a COM DLL). The XSLT formatting objects (or whatever they're called) ARE for .NET, but I'll have to ask the guy who's using them who makes them if you want to know... -Nerseus Quote "I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.