For those looking at incorporating citeproc into their apps, you might
look at the Saxon servlet example included in the Saxon archive.
From the doc:
The servlet maintains a cache of prepared stylesheets; if the same
stylesheet is used repeatedly, it is only parsed and validated once,
which will often greatly improve performance. Prepared style sheets
are thread-safe so they can be used to serve documents to several
users concurrently.
There are two things that slow-down the processing:
- compiling the stylesheet
- starting up the JVM
It seems the servlet solves both problems, though perhaps in
integration with a Java app like eXist, these aren’t problems (?).
Bruce
Hi Bruce,
There are two things that slow-down the processing:
- compiling the stylesheet
- starting up the JVM
It seems the servlet solves both problems, though perhaps in integration
with a Java app like eXist, these aren’t problems (?).
The transform:transform() XQuery extension function in eXist maintains
its own cache for the compiled stylesheets.
Wolfgang
Cool. Would be nice to have a demo working with the MDC project, along
with RefBase. I’ve just about wrapped up the changes I want to make
for the next release (including adding SRU support!).
Bruce
Adrian is on the case - will we be able to get a stylesheet that can create
lists to some official standard?
Howard----- Original Message -----
From: “Bruce D’Arcus” <@Bruce_D_Arcus1>
To: “Wolfgang Meier” <@Wolfgang_Meier>
Cc: xbiblio-devel@lists.sourceforge.net; "Adrian Cuthbertson"
adrianc@braidquest.co.za; “Howard Noble”
<@Howard_Noble>
Sent: Tuesday, June 07, 2005 3:09 PM
Subject: Re: saxon servlet
When I put up the new release, it’ll have a few.
Bruce
great. our primary users are medics so we’ll have to create some stylesheets
for them…hopefully it will be easy to adapt your stylesheets for this
audience.
howard----- Original Message -----
From: “Bruce D’Arcus” <@Bruce_D_Arcus1>
To: “Howard Noble” <@Howard_Noble>
Cc: “Wolfgang Meier” <@Wolfgang_Meier>;
xbiblio-devel@lists.sourceforge.net; "Matthew J. Dovey"
matthew.dovey@computing-services.oxford.ac.uk; "Adrian Cuthbertson"
adrianc@braidquest.co.za
Sent: Tuesday, June 07, 2005 3:31 PM
Subject: Re: saxon servlet