[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: define a global variable and change it

Subject: Re: define a global variable and change it
From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx>
Date: Tue, 12 Aug 2008 17:08:22 +0100
Re:  define a global variable and change it
> 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

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.