XSLT template priority principle

zhaozj2021-02-16  34

(1) Introducing a document priority

XSL: Import introduced style table template is lower than the main style table template

XSL: Include introduced style table template is equal to main style table template

(2) Priority of different modes in document

highest:

Element / childlemnt

ELMENT / *

ELMENT [childNode]

* [*]

* / *

High high:

ELEMENT

Processing-instruction (Litral)

lowest:

*

Node ()

Text ()

Comment ()

(3) Treatment of the same priority

Back template priority

转载请注明原文地址:https://www.9cbs.com/read-26264.html

New Post(0)