What are the differences between a global variable and a stylesheet parameter?
Answer:
1) Stylesheet parameters are declared with <xsl:param> instead of <xsl:variable>.
2) You can override the (default) value of a stylesheet parameter by specifying a value on the command line, or in some other way depending on how you invoke the XSL processor.
2) You can override the (default) value of a stylesheet parameter by specifying a value on the command line, or in some other way depending on how you invoke the XSL processor.
No comments:
Post a Comment