Re: [xsl] define a global variable and change it

Subject: Re: [xsl] define a global variable and change it
From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx>
Date: Tue, 12 Aug 2008 17:08:22 +0100
> It is such szenario:
> User defines a html layout choosing certain html
> elements from the menu bar and clik 'ok'.
> The XSLT should look after a specific html element
> which is a inputfield and contains a string . the
> string could be either  'section1' or 'section2'. So
> far the styleesheet sees the value of the inputfield
> (section1or section2) in a xsl:if test .. statement,
> it sets/changes the global variable. Other statements
> in the stylesheet look for the global variable and do
> according to them something and so on.

Can you provide a small sample input XML and the required output?
It's far easier to understand that paragraphs of text...


-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/

Current Thread