Subject:Integration with VB.Net Author:Nila Rathod Date:13 Nov 2007 11:50 PM
HI There,
I have created XML Report using STYLUS Evaluation version can you please tell me how can I integarate this report withing .Net framework?
Is there any .Net API availble?
Also can you tell me how can I add new page in report and insert Header and Footer in report?
Thanks
Nila
Subject:Integration with VB.Net Author:(Deleted User) Date:14 Nov 2007 05:17 AM
Hi Nila,
the XML Report designed in Stylus Studio can generate an XSLT stylesheet + XSL-FO that you can execute from within the .NET environment by using the System.Xml.Xsl.XslCompiledTransform class (see http://msdn2.microsoft.com/en-us/library/0610k0w4.aspx).
You will have to post-process the result of the transformation using a XSL-FO processor; AFAIK, there isn't a native .NET XSL-FO processor, so you will have to execute a Java based one it via command-line (Apache FOP, RenderX, etc...)
Subject:Integration with VB.Net Author:(Deleted User) Date:15 Nov 2007 03:12 AM
Hi Nila,
as I told you before, Stylus Studio can generate an XSLT stylesheet for the report you designed, and from VB.NET you can execute that stylesheet, without Stylus Studio being active or even installed on the machine. Stylus Studio is an IDE, not a runtime technology.
As for generating header/footer, the report designer of Stylus Studio can design only features that are common across the languages that it generates (HTML and XSL-FO) so this specific feature of XSL-FO is not available; you will have to generate the XSL-FO from your report and manually enhance it to create them.