Loading ...
Sorry, an error occurred while loading the content.

Re: [XSL-FO] XML data transforming to PDF using XSL-FO

Expand Messages
  • Joe Moore
    Change the version attribute of your xsl:stylesheet to 1.0. Version 1.1 was abandoned in favor of XSLT 2.0 and should not be used. I was able to transform
    Message 1 of 2 , Jul 19, 2006
    • 0 Attachment
      Change the version attribute of your xsl:stylesheet to 1.0. Version 1.1 was abandoned in favor of XSLT 2.0 and should not be used.

      I was able to transform your xml from your xslt once I did this. I'll repost what I used.

      If you still have problems please specify what version of FOP you are using.

      <?xml version="1.0" encoding="UTF-8"?>
      <queryresult>
      <rows>
      <cols>
      <value>CapGemini U.S</value>
      </cols>
      <cols>
      <value>02/15/ 2006 PST</value>
      </cols>
      <cols>
      <value>Test Template Global</value>
      </cols>
      <cols>
      <value>1175</value>
      </cols>
      <cols>
      <value>CapGemini U.S</value>
      </cols>
      <cols>
      <value>30.50</value>
      </cols>
      <cols>
      <value>02/15/ 2006 PST</value>
      </cols>
      <cols>
      <value>Screening</value>
      </cols>
      <cols>
      <value>No</value>
      </cols>
      </rows>
      </queryresult>



      <?xml version="1.0" encoding="UTF-8"?>

      xmlns:fo="http://www.w3 org/1999/ XSL/Format"
      exclude-result-prefixes="fo">
      <xsl:output method="xml" version="1.0" omit-xml-declaration="no"
      indent="yes" />
      <xsl:param name="versionParam" select="'1.0' " />





      [Non-text portions of this message have been removed]
    Your message has been successfully submitted and would be delivered to recipients shortly.