xml-xalan-j-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Kitching <si...@ecnetwork.co.nz>
Subject Re: How to throw custom defined exceptions, warnings from xsl page?
Date Mon, 07 Oct 2002 21:00:50 GMT
Hi Prakash,

Can you provide some more details about what you are trying to do?

Are you using standard xsl? In this case, what do you mean by "custom
defined exceptions"? Do you just mean generating your own error
messages? If this is the case, you can use <xsl:message> together with a
custom ErrorListener class.

Are you using some custom extension tags or functions, and want to
generate errors/exceptions from these? In this case, I can provide you
with some example code as I am doing this myself.



On Tue, 2002-10-08 at 05:43, Prakash Sridharan wrote:
> Hi all,
> In my project, I am doing the data validation in an xml through using xsl.
> I want to throw some
> custom defined exceptions and warnings from xsl page while rendering based
> on the validations.  
> Can anybody help me in doing this?
> Thank you,
> Prakash

View raw message