[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: xsl:variable and xsl-param ... local and global p
>>>>> "Manpreet" == Manpreet Singh <singhm@xxxxxxxxxxx> 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|