xsl-list
[Top] [All Lists]

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

2008-08-13 02:18:07

I adapted my idea and try now to solve the problem
with other solution.
Thank you all and bye for now.
--- Andrew Welch <andrew(_dot_)j(_dot_)welch(_at_)gmail(_dot_)com> schrieb:

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/


--~------------------------------------------------------------------
XSL-List info and archive: 
http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to:
http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--




__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen 
Massenmails. 
http://mail.yahoo.com 

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--