How to Convert XML into PDF ????

  • Thread starter Thread starter sandy82
  • Start date Start date
S

sandy82

Hi all i want to convert a document from one format to pdf .
A typical situation like we have a document of a type .abc and upon
user request we convert it to .pdf .
Here what i thought that initially we convert the .abc to XML format
then we convert XML format into .pdf format .
Here is the point where i m stuck the conversion of xml to pdf . Can
any1 help .........
 
Er.... I think you fundamentally misunderstand the purposes of XML and
PDF. PDF is a document image format. XML is a document markup/structure
format. The twain are fundamentally different, although PDF could
conceivably be stored in an XML format rather than a binary format. If
you're even thinking along the lines of "my document format -> XML ->
PDF", you need to understand both of those technologies a whole lot
more before you start making software design decisions. It sounds to me
like you're designing by buzzword.

PDF files are essentially graphics images. There's a lot more to it
than that, but it boils down basically to this: you write to PDF files
just like you write to the screen or the printer or an image. If you
want to convert documents to .pdf format in your software, you'll need
to draw it manually, and you'll need a third-party library. Try
googling for stuff like "C# pdf converter" for third-party library
options. Here's the first item in the results:

http://www.colorpilot.com/pdfsample_csharp.html

Good luck.
 
Really a comprehensive reply , i m searching for a few of these
libraries to implement but cant find a free one ,all are paid .can u
help in this context
 
Hello sandy82,

Look not for XML2PDF but just library that creates PDF docs, like Adobe SKD
or googling to get open-source one (http://www.google.com/search?hl=ru&q=pdf+open-source+.net&lr=)

As said, XML is markup language, u can depict you data in any format like
HTML or RTF and then convert to PDF

s> Really a comprehensive reply , i m searching for a few of these
s> libraries to implement but cant find a free one ,all are paid .can u
s> help in this context
s>
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsch
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top