Sandrine Pilon wrote:

******************************************************
[INFO]: FOP 0.20.3
file:///D:/Program Files/FOP/fop-0.20.3/MCCFdConfig_FO_2.xsl; Line 7; Column
40; [ERROR]: null
******************************************************
and the line 7 is this: 'extension-element-prefixes="date">'
Column 40 is lhe last column.
I also tried J.Pietschmann advises, but the same error occurred with his
example:

******************************************************
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet
        xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
        xmlns:fo="http://www.w3.org/1999/XSL/Format";
        xmlns:date="java.util.Date"
        xmlns:format="java.text.SimpleDateFormat"
        exclude-result-prefixes="date format">

<xsl:template match="/">
        <xsl:variable name="pattern">yyyy.MM.dd G 'at' hh:mm:ss a
zzz</xsl:variable>
        <xsl:variable name="SimpleDateFormat" select="format:new($pattern)" />
        <xsl:variable name="Date" select="date:new()" />
        <xsl:value-of select="format:format($SimpleDateFormat, $Date)" />
</xsl:template>
******************************************************

<xsl:stylesheet> element must have version attribute - that's probably your error. And that stylesheet doesn't generate any fo elements also, is it test only one?


--
Oleg Tkachenko
Multiconn International, Israel



Reply via email to