Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Xml XSLT To PDF How do I?

Contributor ,
Aug 27, 2012 Aug 27, 2012

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.

690
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 27, 2012 Aug 27, 2012

What did this actually end up generating?

DW

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Aug 27, 2012 Aug 27, 2012
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources