[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Processing milestoned XML leads to many preceding:
On Tue, February 21, 2012 9:07 am, MatDj Cepl wrote: > I am again working on a XSLT stylesheet to convert a Czech Bible > translation from home-brew schema to OSIS and I got to some performance > problems. > > Whole stylesheet is > https://gitorious.org/sword/czekms-csp_bible/blobs/master/CEP2OSIS.xsl > (and git repo can be clone from ...), but I believe the relevant parts are ... > This works (at least as much as I was able to test it give then the > circumstances), but the performance is absolutely dreadful. Just book of > Genesis took almost an hour before being processed (with one core of my > dual-core CPU being constantly at 100%). Have you looked at using multiple stylesheets and/or multiple modes (and, if you stick with xsltproc, exsl:node-set()) so you can, e.g., do the chapter milestones, then the verse-start milestones, then the verse-end milestones? And as Andrew Welch eloquently put it, some things are so much easier in XSLT 2.0 that people assume that's what you're using. FWIW, my slides on converting from (non-XML) SFM to OSIS and then EPUB from XML Prague 2011 are linked to from http://www.mentea.net/resources.html#XMLPrague2011 Regards, Tony Graham tgraham@xxxxxxxxxx Consultant http://www.mentea.net Mentea 13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- XML, XSL-FO and XSLT consulting, training and programming
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|