Hi,
 
    I thing, you have to write
 
-------------------------------------------------------------------
<?xml version="1.0" encoding="utf-8"?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"

                                           xmlns:fo="http://www.w3.org/1999/XSL/Format">

    <xsl:template match="xxxx">

        <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">

        </fo:root>

    </xsl:template>

</xsl:stylesheet>

-------------------------------------------------------------------

    Petr Zeman

----- Original Message -----
Sent: Monday, June 18, 2001 10:42 AM
Subject: Problems with OS390

I am trying to build .pdf from .fo file using Fop 0.18.1. I use the same .fo document on Win NT with JDK1.1.8 and it works. On OS390 I always get the same message: The root element is required in a well-formed document.
Here is a piece (first two lines) of my .fo document :
<?xml version="1.0" encoding="utf-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
  ........
</fo:root>
 
Is this OK?
 
Thanks!

Reply via email to