I have a requirement to create a PDF file in XML format. I think there is no way to directly create pdf files from xml, but using XSLT or XSL FO, I believe that this can be done. I have read many articles looking for a good way to do this with C #.
-> What is the best approach during this? any example will really be great.
My scenario:
I have an XML that looks like this:
<Products> <Brand name="Test"> <Quantity value="2/> <Price value="$20"/> </Brand> <Brand name="Test2"> <Quantity value="3/> <Price value="$30"/> </Brand> <Brand name="Test3"> <Quantity value="4/> <Price value="$40"/> </Brand> </Products>
How can I create a pdf file with a table showing all this information?
I know that there are many similar questions, but most of them are out of date. Any help is really appreciated.
source share