I am currently reading data from a webpage form, using the data to generate xml, using xslt to translate the data into an html format and emailing the html. Is there a way to transform the data into a pdf format and send this as a file instead? I have seen examples of using xsl-fo but I would rather do this using raw xslt.

Recommended Answers

All 2 Replies

Just a question, why aren't you just converting the submitted form data straight into html then emailing it or converting to a pdf?

If you want to do a transformation of XML data to a PDF, you'll need XSL-FO. If you already have HTML, there is prolly some free HTML to PDF converters out there and available.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.