[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Fwd: curly braces
You need to explain how these measurements were taken: was the
stylesheet compiled inside the loop or outside it? Was the same
Transformer used repeatedly, or a new one created each time? There are
scenarios where building an index on the stylesheet document would be
better because the same index is reused repeatedly, whereas with a
temporary tree a new index will be built each time. If you have a large
lookup document then I would recommend making it a separate
free-standing document, and building it outside the transformation (not
using doc(), supplying it as a stylesheet parameter); if you then use
the same compiled stylesheet repeatedly, both the lookup document and
its index will be reused for each transformation. If you're only using
the stylesheet once, however, putting the data inline in a global
variable will be a little faster.
Michael Kay Saxonica On 20/09/2012 02:12, Ihe Onwuka wrote: On Thu, Sep 20, 2012 at 12:11 AM, Michael Kay <mike@xxxxxxxxxxxx> wrote:
|
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
|