preproc/expand.xsl: Remove check for injected templates

This incurs the cost of a symtable lookup via XPath for a feature that has
not been used in a long time (I don't even recall it).

DEV-15095
main
Mike Gerwitz 2023-10-12 15:54:10 -04:00
parent a8ef1b4fd1
commit 7ccf0a0cfa
1 changed files with 0 additions and 8 deletions

View File

@ -638,14 +638,6 @@
</template>
<!-- remove templates that have been copied from an external source for
processing -->
<template match="lv:template[
@name=root()
/preproc:symtable/preproc:sym[ @src ]/@name ]"
mode="preproc:expand" priority="5">
</template>
<!-- IMPORTANT: do not process unexpanded templates -->
<template match="lv:template" mode="preproc:expand" priority="4">
<sequence select="." />