xsl-list
[Top] [All Lists]

[xsl] fn:document() cost

2018-02-11 17:03:17
XSL experts,

I have to pull from several xml files.  Would it be more efficient to combine 
all the xml into a single file first...or use fn:document() to specify the 
document context for each xpath statement.

If Saxon's complier is savvy about only loading a document once in an XSL that 
specifies the same document multiple times this approach seems preferable to me.

Thanks,
Dave Jacopille
Boston, MA

MFS Email system made the following annotation
---------------------------------------------------------------------------------------------------------------------------------------
This email communication and any attachments may contain proprietary, 
confidential, or privileged information. If you are not the intended recipient, 
you are hereby notified that you have received this email in error and that any 
review, disclosure, dissemination, distribution or copying of it or its 
contents is prohibited. The sender does not waive confidentiality or any 
privilege by mistransmission. If you have received this email in error, please 
notify the sender immediately, delete this email, and destroy all copies and 
any attachments.
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--
<Prev in Thread] Current Thread [Next in Thread>