I am looking to find a way to speed up a key step in a pipeline:
The one in question has the following steps:
<map:match pattern="ind-list">
<map:parameter name="handler" value="myindhandler"/>
<map:generate src="inds" type="directory" include="*.xml"/>
<map:transform src="stylesheets/ind/ind-xincludes.xsl" >
<map:parameter name="ind-dir" value="inds"/>
</map:transform>
<!-- *NOW SLOW* -->
<map:transform type="xinclude"/>
<map:serialize type="xml"/>
</map:match>
The pipeline is fast up to the end of the first transform,
resulting in XML which contains a number of tags of
the form:
<file name="101.xml">
<xi:include
href="inds/101.xml#xmlns(inml=http://www.myschema.com)xpointer(//inml:ind/meta)"/>
</file>
The number of tags varies by directory, but is typically about 50.
The files themselves are small - about 50k - and the "meta"
tags have only a few bytes of text.
However, this last step takes over a minute! on a fast server
(2Gb memory, 3Ghz processor)...
What can I do to ensure that this is speeded up significantly...?
ie at least a factor of 10!
Thanks
Derek
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]