I have a server that accepts an XML posted to it. The Server then does an XSLT on the data using a server-side XSL file. The XSLT works from the command line, and the server performs and proper transform to FO, but fails to render a proper PDF. I have intercepted the FO and put it into the command line, where it creates the expected PDF, but it creates a seemingly empty PDF. I have been able to get it to properly create an RFT file, but I do not want RTF, I want PDF. Has anyone had this problem? Here's my XSL:
<?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:testscript="http://jazz.net/xmlns/alm/qm/v0.1/" xmlns:step="http://jazz.net/xmlns/alm/qm/v0.1/testscript/v0.1/" xmlns:el="http://purl.org/dc/elements/1.1/"> <xsl:template match="/"> <fo:root> <fo:layout-master-set> <fo:simple-page-master page-height="279mm" page-width="216mm" margin-top="10mm" margin-left="20mm" margin-right="20mm" margin-bottom="10mm" master-name="PageMaster"> <fo:region-body background-color="#EFAFAF" margin-top="20mm" margin-left="10mm" margin-right="10mm" margin-bottom="20mm"/> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence initial-page-number="1" master-reference="PageMaster"> <fo:flow flow-name="xsl-region-body"> <xsl:apply-templates/> </fo:flow> </fo:page-sequence> </fo:root> </xsl:template> <xsl:template match="testscript:testscript"> <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> <fo:block>Testscript</fo:block> <fo:block>Identifier: <xsl:value-of select="el:identifier"/></fo:block> <fo:block>Description: <xsl:value-of select="el:description"/></fo:block> <fo:block>Title: <xsl:value-of select="el:title"/></fo:block> </fo:block> </xsl:template> </xsl:stylesheet> -- Sam Fuqua ΣΝ ΘΗ 454