Skip to main content
Inspiring
August 27, 2012
Question

Xml XSLT To PDF How do I?

  • August 27, 2012
  • 1 reply
  • 800 views

I took a stab at creating a framework to generate reports through XML and XSLT.

Now the problem I have is being able to allow the user who generated the report to print it in a PDF. I tried saving the generated html with a <cfsavecontent variable="xjy" > and output the info with a cfoutput 

<cfdocument format="pdf" marginright="0" saveasname="xxx.pdf">

#XmlTransform(xmlObj,xslObj)#

</cfdocument>.

This is not working. I need help outputing this info into a pdf.

    This topic has been closed for replies.

    1 reply

    Participating Frequently
    August 27, 2012

    What did this actually end up generating?

    DW

    umuayoAuthor
    Inspiring
    August 27, 2012

    When I run it. It generates garbage records that are unreadable