Definitely an underspecified question.
Given what you've told us, it sounds like DOM (or possibly XPath) operations
to extract the how-many-copies data, followed by tree-copying using the
DOM's importNode() operation, would do the job and would likely be faster.
Aristotle defined beauty as "The gift of God that occurs when all
parts work together in harmony so that no one part draws unjust attention
Engineering, too, is a search for beauty.
09/26/2012 05:22 PM
Re: Generating multiple DOMs using xslt
You have not shared enough information regarding the
problem set you wish to solve.
Here are some related questions for consideration.
Are the replicated DOM's all different?
If they are to be all the same and (read-only), you might get by
having multiple threads share the same DOM source. This means
that you are not updating the source DOM with nodeset fragments.
Steven J. Hathaway
> I have a source XML DOM which I'd like to replicate into multiple
> number of duplications depends on a certain information within the
> Why would I need to do this?
> Each duplicated DOM can be processed by a different thread for processing.
> 1. Is it possible to do this with XSLT and Xalan?
> 2. Are there any better approach?
> View this message in context:
> Sent from the Xalan - J - Users mailing list archive at Nabble.com.