OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: The compiled Saxon DocBook stylesheets doesn't speed anything??


Hello,

I generated from my DocBook xml file in the windows platform the xsl-fo files 1) with compiled fo\docbook.xsl and 2) with the un-compiled fo\docbook.xsl and the speed was for the first case 28 seconds and 29 seconds for the second case. So the compiled was only one second faster. 

What is your experience about speed with fo\docbook.xsl when comparing the compiled stylesheet to the un-compiled stylesheets?

1) the compiled fo\docbook.xsl commands:

Compilation:

C:\Documents and Settings\mitapana\My Documents\xml2pdf\examples>c:\java\jdk1.5.
0_13\jre\bin\java -cp .;..\saxon\saxon9ee.jar com.saxonica.CompileStylesheet ..\
docbook\docbook-xsl-1.75.2\fo\docbook.xsl docbook.sxx

Running:

C:\Documents and Settings\mitapana\My Documents\xml2pdf\examples>c:\java\jdk1.5.
0_13\jre\bin\java -cp .;..\saxon\saxon9ee.jar net.sf.saxon.Transform -s:100.xml
-c:docbook.sxx -o:100saxonComp.fo
Saxon evaluation license expires in 30 days
Making portrait pages on USletter paper (8.5inx11in)

2) the un-compiled fo\docbook.xsl running command:

C:\Documents and Settings\mitapana\My Documents\xml2pdf\examples>c:\java\jdk1.5.
0_13\jre\bin\java -cp .;..\saxon\saxon9ee.jar net.sf.saxon.Transform -s:100.xml
-xsl:..\docbook\docbook-xsl-1.75.2\fo\docbook.xsl -o:100saxon.fo
Saxon evaluation license expires in 30 days
Warning: at xsl:stylesheet on line 8 column 31 of docbook.xsl:
  Running an XSLT 1.0 stylesheet with an XSLT 2.0 processor
Making portrait pages on USletter paper (8.5inx11in)

BR,

Mika

Mika Tapanainen
IT Consultant
 
Digia Plc
Hiomotie 19, FI-00380 HELSINKI 
Email: mika.tapanainen@digia.com
Tel: +358 (0) 10 313 3000 Mobile: +358 (0)40 764 7939 Fax: +358 (0) 10 313 3700
Visit us at: www.digia.com 
------------------------------------------------------------------
PRIVACY AND CONFIDENTIALITY NOTICE
This message and any attachments are intended only for use by the named addressee and may contain privileged and/or confidential information. If you are not the named addressee you should not disseminate, copy or take any action in reliance on it. If you have received this message in error, please contact the sender immediately and delete the message and any attachments accompanying it. Digia Plc does not accept liability for any corruption, interception, amendment, tampering or viruses occurring to this message. 
-----------------------------------------------------------------
 


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]