[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

Subject: RE: xsl:variable and xsl-param ... local and global perspec itve
From: Manpreet Singh <singhm@xxxxxxxxxxx>
Date: Mon, 6 Dec 2004 17:20:34 +0530
xsl param global
Thanx

-----Original Message-----
From: Colin Paul Adams [mailto:colin@xxxxxxxxxxxxxxxxxx]
Sent: Monday, December 06, 2004 5:12 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  xsl:variable and xsl-param ... local and global
perspecitve


>>>>> "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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.