<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Is this error a Saxon error or XEP error?</TITLE>
<META content="MSHTML 6.00.2800.1458" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=246482421-20102004><FONT face=Arial color=#0000ff size=2>Thanks
Jez, </FONT></SPAN></DIV>
<DIV><SPAN class=246482421-20102004><FONT face=Arial color=#0000ff size=2>I will
look further into the spec. I am using XEP 3.8.4 with Saxon 8. The
style sheet is inherited from another contractor. I have fixed this error but
have many others to look at. Once again thanks for the help!</FONT></SPAN></DIV>
<DIV><SPAN class=246482421-20102004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=246482421-20102004><FONT face=Arial color=#0000ff
size=2>Hank</FONT></SPAN></DIV>
<BLOCKQUOTE>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Jez Brewster
[mailto:jezbrewster@datamonitor.com]<BR><B>Sent:</B> Wednesday, October 20,
2004 2:42 PM<BR><B>To:</B> xep-support@renderx.com<BR><B>Subject:</B> RE:
[xep-support] Is this error a Saxon error or XEP error?<BR><BR></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=380133419-20102004>Hank</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=380133419-20102004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=380133419-20102004>The
error "xsl:param must be the first element within a template" is an XSLT error
(not an error with with an XSL-FO engine such as RenderX's XEP) that will
be displayed by any XSLT processor (such as Saxon and others -
though you indicate that you did not have this error with Saxon
6.5).</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=380133419-20102004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=380133419-20102004>There are certain rules to which XSLT stylesheets
must adhere. The position of <xsl:param...> elements is one of
those rules.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=380133419-20102004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=380133419-20102004></SPAN></FONT><FONT face=Arial color=#0000ff
size=2><SPAN class=380133419-20102004>Are you using an <xsl:param...>
element where you should be using a <xsl:with-param...>? XSLT
processors typically display this message when a <xsl:with-param...> is
what you need to use.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=380133419-20102004>Have
a look on the w3.org website at the following URL for more info on the correct
use of xsl:params</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=380133419-20102004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=380133419-20102004><A
href="http://www.w3.org/TR/xslt#variables">http://www.w3.org/TR/xslt#variables</A></SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=380133419-20102004>Regards</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=380133419-20102004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=380133419-20102004>Jez</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><B><FONT face=Arial color=#000066 size=2><BR></FONT></B> </DIV>
<BLOCKQUOTE>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B>
owner-xep-support@renderx.com [mailto:owner-xep-support@renderx.com]<B>On
Behalf Of </B>Hepler Henry H (Contractor)<BR><B>Sent:</B> 20 October 2004
18:31<BR><B>To:</B> Xep-Support (E-mail)<BR><B>Subject:</B> [xep-support] Is
this error a Saxon error or XEP error?<BR><BR></FONT></DIV>
<P><FONT size=2>I am getting an error: "xsl:param must be the first element
within a template", which is fine but how do I fix it? I have found 2
threads concerning this and still nothing except go back to Saxon 6.5. This
is not a good option...any suggestions? Trying to fix someone else's
XSL-FO...thanks!</FONT></P>
<P><FONT size=2>Hank Hepler</FONT> </P><BR>
<P><FONT
size=2>==============================================================================</FONT>
<BR><FONT size=2>NOTICE - This communication may contain confidential and
privileged </FONT><BR><FONT size=2>information that is for the sole use of
the intended recipient. Any viewing,</FONT> <BR><FONT size=2>copying or
distribution of, or reliance on this message by unintended</FONT> <BR><FONT
size=2>recipients is strictly prohibited. If you have received this message
in</FONT> <BR><FONT size=2>error, please notify us immediately by replying
to the message and deleting</FONT> <BR><FONT size=2>it from your
computer.</FONT> </P>
<P><FONT
size=2>==============================================================================</FONT>
</P><BR>_____________________________________________________________________<BR>This
message has been checked for all known viruses through the MessageLabs Virus
Control Center.<BR></BLOCKQUOTE><BR>This email and any files transmitted with
it are confidential and intended solely for the use of the individual or
entity to whom they are addressed. If you are not the intended recipient or
the person responsible for delivering to the intended recipient, please be
advised that it has been sent in error and therefore any use is strictly
prohibited. <BR>If you are not the intended recipient, or if you are concerned
about the content of this email, please notify our IT helpdesk on +44 20 7675
7000.
<BR>___________________________________________________________________<BR>This
message has been checked for all known viruses through the MessageLabs Virus
Control Center.<BR></BLOCKQUOTE></BODY></HTML>