[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/vendor/s9e/text-formatter/src/Configurator/TemplateNormalizations/ -> OptimizeNestedConditionals.php (summary)

(no description)

Copyright: Copyright (c) 2010-2022 The s9e authors
License: http://www.opensource.org/licenses/mit-license.php The MIT License
File Size: 43 lines (1 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

OptimizeNestedConditionals:: (1 method):
  normalizeElement()


Class: OptimizeNestedConditionals  - X-Ref

Optimize xsl:choose elements by integrating the content of another xsl:choose element located
in their xsl:otherwise part

Will move child nodes from //xsl:choose/xsl:otherwise/xsl:choose to their great-grandparent as
long as the inner xsl:choose has no siblings. Good for XSLT stylesheets because it reduces the
number of nodes, not-so-good for the PHP renderer when it prevents from optimizing branch
tables by mixing the branch keys
normalizeElement(DOMElement $element)   X-Ref
{@inheritdoc}




Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1