URGENT <xsl:call-template> problem

admin

Administrator
Staff member
I am getting the below given error, when I deploy my files in the JBoss server.

I have a file viewData.xsl in which I call the template available in commonCriteria.xsl file as below.
<TABLE>
<xsl:call-template name="Criteria">
<xsl:with-param name="addSectionTitle" select="'Select Filter Criteria'"/>
<xsl:with-param name="tableSectionTitle" select="'Filter Criteria'"/>
</xsl:call-template>
</TABLE>

commonCriteria.xsl

<xsl:template name="Criteria">
<xsl:param name="addSectionTitle" select="''"/>
<xsl:param name="tableSectionTitle" select="''"/>

<TABLE cellSpacing="0" cellPadding="0" height="100%" width="100%" border="0">
<TR>
<TD>

<TABLE cellSpacing="0" cellPadding="0" height="100%" width="100%" border="0" class="tbllb">
<thead>
<TR>
<TD style="HEIGHT: 22px" colSpan="2"><xsl:value-of select="$addSectionTitle"/>xsl:value-of select="$tableSectionTitle"/></TD>
</TR>
</thead>
</TABLE>


12:56:44,039 INFO [STDOUT] ERROR: 'null'
12:56:44,039 INFO [STDOUT] FATAL ERROR: 'Could not compile stylesheet'
12:56:44,039 ERROR [MainServlet] Failed Compiling Translet: cps/file/viewData.xs
l
javax.xml.transform.TransformerConfigurationException: Could not compile stylesh
eet
at org.apache.xalan.xsltc.trax.TransformerFactoryImpl.newTemplates(Trans
formerFactoryImpl.java:753)
at com.delphi.gfad.coreframework.servlet.MainServlet.compileTranslet(Mai
nServlet.java:324)
at com.delphi.gfad.coreframework.servlet.MainServlet.init(MainServlet.ja
va:276)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
java:1029)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:86
2)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
t.java:4013)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
357)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:823)
I am getting the below given error, when I deploy my files in the JBoss server.
 
Back
Top