Yes , you are right. XSL creates a result tree which can be dumped to Xml or Html or txt. Apart from creating output file, our style sheet throws few messages using <xsl:message> construct. So we need to know the way to capture these messages using Xalan Interface. Thanks, Karuna ________________________________
From: David Bertoni [mailto:[EMAIL PROTECTED] Sent: Tue 1/8/2008 12:34 PM To: xalan-c-users@xml.apache.org Subject: Re: Queries on Performance and error/message handling! [EMAIL PROTECTED] wrote: > Hi David, > > Thanks for the reply. Reg question #2, I refer to stylesheet by XSLT. > > I have the stylesheet which returns boolean at the end of the transformation. > I want to capture the boolean value from Xalan interface. Is this possible? > > The return type of XalanTransformer::transform() API is "integer" which tells > whether the transformation is successful or not. > But it is not helping the to get the actual value returned by Stylesheet. > Hope i clarified myself this time. A stylesheet doesn't "return" anything -- it creates a result tree which is usually serialized as markup. Can you be more specific by providing a minimal stylesheet that illustrates your intentions? Dave