Let's take an example:
xsl: Call-Template>
xsl: template>
For the XML template, the name attribute is a very critical call-template / apply-template's Name must be and template's Name
Corresponding. Templates are equivalent to a function, you can see it for the time being. Name is equivalent to the function name.
Using XSL: with-param in Call-Template is equivalent to function parameter input
The parameter statement is quite in XSL: Template XSL: PARAM
Speaking XSL: Variable.
You can declare the
CONST is equivalent to C because the variable is not changed again.
For XSL: PARAM and XSL: Variable, you can use $ NAME to choose directly, for example
Variables and parameters are the same as the reason why there is a declaration.
The last most important thing: XSL's variable is constant that can no longer change again.
Don't be confused by its name,