xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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
Keywords
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor