XSLT PI Parameters: Difference between revisions

no edit summary
No edit summary
Line 31: Line 31:


If the '''namespace''' attribute is missing or empty the null namespace is used.
If the '''namespace''' attribute is missing or empty the null namespace is used.
It is not an error to specify a parameter name that does not exist in the stylesheet (or that is a variable in the stylesheet). The PI is simply ignored.


If both '''value''' and '''select''' is present the '''value''' attribute is ignored. If neither '''value''' nor '''select''' is present the PI is ignored.
If both '''value''' and '''select''' is present the '''value''' attribute is ignored. If neither '''value''' nor '''select''' is present the PI is ignored.


It is not an error to specify a parameter name that does not exist in the stylesheet (or that is a variable in the stylesheet). The PI is simply ignored.
Note that value="..." is not strictly equal to select="'...'" since the value can contain both apostrophe and quote characters.


==== The select attribute context ====
==== The select attribute context ====
Confirmed users
716

edits