I am trying to use XSLFO to produce a PDF file. I am getting closer but am having a problem still. I no longer get any transformation errors in my java servlet so I think I am creating the transformation correctly. I am getting the following 2 errors though after the Acrobat reader is launched:
An unrecognized token 'ü' was found.
Illegal operation 'q' inside a text object.
Not sure what can be causing that? Here is my XSL file:
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl=" xmlns:fo=" version="1.0">
<xsl
utput method="xml"/>
<xsl:template match="/">
<fo:root xmlns:fo=" <fo:layout-master-set>
<fo:simple-page-master master-name="simple" page-height="29.7cm" page-width="21cm" margin-left="2.5cm" margin-right="2.5cm">
<fo:region-body margin-top="3cm"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo
age-sequence master-name="simple">
<fo:flow flow-name="xsl-region-body">
<fo:block>
XSLFO TEST
</fo:block>
</fo:flow>
</fo
age-sequence>
</fo:root>
</xsl:template>
</xsl:stylesheet>
Does anybody have any thoughts?
Thanks!
An unrecognized token 'ü' was found.
Illegal operation 'q' inside a text object.
Not sure what can be causing that? Here is my XSL file:
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl=" xmlns:fo=" version="1.0">
<xsl
<xsl:template match="/">
<fo:root xmlns:fo=" <fo:layout-master-set>
<fo:simple-page-master master-name="simple" page-height="29.7cm" page-width="21cm" margin-left="2.5cm" margin-right="2.5cm">
<fo:region-body margin-top="3cm"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo
<fo:flow flow-name="xsl-region-body">
<fo:block>
XSLFO TEST
</fo:block>
</fo:flow>
</fo
</fo:root>
</xsl:template>
</xsl:stylesheet>
Does anybody have any thoughts?
Thanks!