Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: what is?

From: "George Bina" <george@---------.--->
To: NULL
Date: 7/13/2006 12:46:00 AM

Arman,

Global variables/parameters are declared outside of any template, as
children of xsl:stylesheet or xsl:transform element.

Best Regards,
George
---------------------------------------------------------------------
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
www.---.com


Arman Sahakyan (donotspam) wrote:
> HI,
>
> I cannot understand how to declare a global variable/parameter whereas
> in XSL they must be placed inside templates (I think of templates as
> functions).
> Isn't it?
>
> Thanks
>
> --
> ======
> Arman
>
>
> "George Bina" wrote:
>
> > Hi,
> >
> > For global parameters you may specify values externally while for
> > global variables you cannot do that.
> > Both parameters and variables are immutable so you cannot change their
> > value, their value is specified where they are declared. Global
> > parameters/variables are visible in any template.
> >
> > Best Regards,
> > George
> > ---------------------------------------------------------------------
> > George Cristian Bina
> > <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
> > www.---.com
> >
> > bloctext wrote:
> > > what is the difference between a variable and a parameter?
> > >
> > > how do i define a global variable/parameter, initalise it in one
> > > template, and utilise this value in another?
> > 
> >



transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent