Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


XSL Template Question

From: "Brill2" <david.rifkind@-----.--->
To: NULL
Date: 7/11/2006 8:07:00 PM

Dear Guru's, please forgive the newbie question but I have a problem I
can't seem to figure out.  I am supporting some old XSLT code and I see
the following code everywhere :

               <xsl:template name="left"/>
	<xsl:template name="middle">
		<xsl:call-template name="lixwelcom"/>
		<xsl:call-template name="lixlatnws"/>
		<xsl:call-template name="lislstreq"/>
		<xsl:if test="not($sec:group[@loc:id = 'LIBRARYSTAFF'])">
			<xsl:call-template name="lislstsub"/>
		</xsl:if>
	</xsl:template>
	<xsl:template name="right"/>
	<xsl:include href="../core/lixwelcom.xsl"/>
	<xsl:include href="../nws/lixlatnws.xsl"/>
	<xsl:include href="../req/lislstreq.xsl"/>
	<xsl:include href="../sub/lislstsub.xsl"/>
	<xsl:include href="../default.xsl"/>

My problem is with the tags named :
<xsl:template name="left"/>
<xsl:template name="right"/>

I understand what the tag <xsl:template name="middle"> is doing because
it is defined, however the tags left and right are confusing the heck
outta me.  I don't understand, if a template is undefined like that is
it legal?  Or am I reading the syntax wrong and are these tags actually
calling a template somewhere named left and right?

Are they just placeholders?

I really cant get my brain around this one.  Any help would be
appreciated and maybe an explanation as to why someone would use xslt
in this way.

Again thank you for your help
Regards



transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent