RE: [xsl] processing improvements questions regarding document, parameters

Subject: RE: [xsl] processing improvements questions regarding document, parameters
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Wed, 17 Apr 2002 10:23:50 +0100
> okay first a general question, should there be any
> improvement in processing
> between the model of loading an external document using the document()
> function and doing things with it, applying templates etc. or
> if one copies
> the document into a global parameter and uses a node-set
> function against
> it.

I would be surprised if this gave you an improvement but the only way to
find out is to measure it.
>
> A question about adding parameters to an xsl processor in asp:
>
> I've got the traditional xml/asp page, I load in two xml
> pages, one for the
> menu the other for content, apply xslts against them to get
> output. In doing
> so I pass in some parameters, am thinking about passing in nodesets
> extracted from a dom document, would there be any gain in
> doing it this way
> or would it be better to load in a document from the xslt and
> then pass a
> parameter telling the xslt which info it should be getting.

Again, I doubt in makes any difference but the only way to find out is to
measure it.

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread