"Manpreet" == Manpreet Singh <singhm(_at_)quark(_dot_)co(_dot_)in> writes:
Manpreet> Hi, The following statment appears in the xslt specs. I
Manpreet> want to know that in the second sentence below, are we
Manpreet> talking of 2 different perspectives when we declare a
Manpreet> variable or parameter, or is there a difference in the
Manpreet> their written form in xslt also?
Manpreet> "Note that the xsl:variable and xsl:param elements can
Manpreet> act either as declarations or as instructions. A global
Manpreet> variable or parameter is defined using a declaration; a
Manpreet> local variable or parameter using an instruction."
No - it's just the location of the instruction or declaration.
If it's an immediate child of the stylesheet element (xsl:stylesheet
or xsl:transform), then it's a declaration, and a global parameter or
variable.
Otherwise it's an instruction / local variable or parameter.
--
Colin Paul Adams
Preston Lancashire
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--