Subject:Collapsible Groups Author:James Delaney Date:22 Oct 2009 12:08 PM
I have a rather large XSL/XSL:FO report that I have to edit/add on a regular basis. It's about 30,000 lines and becoming difficult to manage. Being new, I'm lacking a good organization skill to it. I'd like to be able to create multiple parts and collapse it using Stylus Studio's editing features. However, working in dummy <collapse> statements around any fo/xsl results in declaration errors.
Does anyone have any best practices regarding how to manage complex reports? I have not used any of the project abilities at all, so I'm assuming this may be an area to look into?
Subject:Collapsible Groups Author:(Deleted User) Date:29 Oct 2009 01:23 PM
usually big XSLT stylesheets are split in several modules, includes using xsl:include. Unless you are referring to an XML document written using XSL:FO... in this case you can divide your file in N well-formed fragments and use XInclude statements to merge them in the final document. Before running the FO-to-PDF step you will have to run an extra step to obtain the complete document by using an XInclude-enabled parser.