Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem using XSLFO

Status
Not open for further replies.

mluken

Programmer
Dec 31, 2003
54
US
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:eek: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:page-sequence master-name="simple">
<fo:flow flow-name="xsl-region-body">
<fo:block>
XSLFO TEST
</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>
</xsl:template>
</xsl:stylesheet>

Does anybody have any thoughts?

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top