Howdy!

On 6/3/2003 8:42 AM, [EMAIL PROTECTED] wrote:
[INFO] FOP 0.20.4
[ERROR] null

[..]


<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:fo="http://www.w3.org/1999/XSL/Format"; xmlns:nsdc="http://www.rtf2fo.com/NSDC"; xmlns:xsl="http://www.w3.org/1999/XSL/Transform";><xsl:template match="nsdc:data">
<fo:root>
....
</fo:root>
</xsl:template>
<xsl:include href="testempty.xsl">
</xsl:stylesheet>

Actually, I believe (respectfully) that the bug is in your XSL. First of all, the xsl:include tag is not closed (although that may be just a typo). 2ndly, according to everywhere I've read, (XML Bible, the XSL spec, etc.):


The xsl:include element is only allowed as a top-level element.

That means it should be something like this:

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:fo="http://www.w3.org/1999/XSL/Format"; xmlns:nsdc="http://www.rtf2fo.com/NSDC"; xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
<xsl:include href="testempty.xsl"/>
<xsl:template match="nsdc:data">
<fo:root>
....
</fo:root>
</xsl:template>
</xsl:stylesheet>


Hope this helps!

Web Maestro Clay
--
Clay Leeds - [EMAIL PROTECTED]
Web Developer - Medata, Inc. - http://www.medata.com
PGP Public Key: https://mail.medata.com/pgp/cleeds.asc


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]



Reply via email to