[xsl] Mulitple error messagees.

Subject: [xsl] Mulitple error messagees.
From: "Avula, Raj" <RAvula@xxxxxxxxxxx>
Date: Mon, 4 Feb 2002 14:32:16 -0800
Hi,
	In my xsl, I have a error template which will be called from many
templates whenever there is an error.
At the end of the xsl, I want to return that error message to the clinet. 
	My problem here is, how can I store all the error messages with in
the error template, which has been
called more than once from other templates.

example:

<xsl:template name="ERROR">
	<xsl:param name="error_str" />
</xsl:template>


<xsl:template name="A">
	<xsl:call-template name="ERROR">
		<xsl:with-param name="error_str" select="'First error'" />
	</xsl:call-template>
</xsl:template>

<xsl:template name="B">
	<xsl:call-template name="ERROR">
		<xsl:with-param name="error_str" select="'Second error'" />
	</xsl:call-template>
</xsl:template>


Here I want store all the error messages and farward it to client at the end
of the processing.

Any Ideas?

Thanks,
Raj..

"MMS <firstam.com>" made the following
 annotations on 02/04/02 14:33:38
------------------------------------------------------------------------------
"THIS E-MAIL MESSAGE AND ANY FILES TRANSMITTED HEREWITH, ARE INTENDED SOLELY FOR THE USE OF THE INDIVIDUAL(S) ADDRESSED AND MAY CONTAIN CONFIDENTIAL, PROPRIETARY OR PRIVILEGED INFORMATION.  IF YOU ARE NOT THE ADDRESSEE INDICATED IN THIS MESSAGE (OR RESPONSIBLE FOR DELIVERY OF THIS MESSAGE TO SUCH PERSON) YOU MAY NOT REVIEW, USE, DISCLOSE OR DISTRIBUTE THIS MESSAGE OR ANY FILES TRANSMITTED HEREWITH.  IF YOU RECEIVE THIS MESSAGE IN ERROR, PLEASE CONTACT THE SENDER BY REPLY E-MAIL AND DELETE THIS MESSAGE AND ALL COPIES OF IT FROM YOUR SYSTEM."

==============================================================================


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread