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-15095main
parent
a8ef1b4fd1
commit
7ccf0a0cfa
|
@ -638,14 +638,6 @@
|
||||||
</template>
|
</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 -->
|
<!-- IMPORTANT: do not process unexpanded templates -->
|
||||||
<template match="lv:template" mode="preproc:expand" priority="4">
|
<template match="lv:template" mode="preproc:expand" priority="4">
|
||||||
<sequence select="." />
|
<sequence select="." />
|
||||||
|
|
Loading…
Reference in New Issue