Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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

Satya
Posted

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

Satya
  • Leaders
Posted
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?
--tim
Posted

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

Satya
  • *Experts*
Posted

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

"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
Posted
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.
--tim
Posted

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

Satya
  • *Experts*
Posted

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

"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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...