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]

[xsl] define a global variable and change it


Subject: [xsl] define a global variable and change it
From: henry human <henry_human@xxxxxxxx>
Date: Tue, 12 Aug 2008 17:30:46 +0200 (CEST)

Hi
is it possible to define a global variable with xsl?
I am going to define such varable to be able changing
its value some where inside the stylesheet. 
Hier is asample which does not work!:
**********************************
    <html>
      <body>
<xsl:variable name="x" select="'abcd'"/>
   <p> Value of x: <xsl:value-of select="$x"/>  </p> 
<xsl:variable name="x"> succeded</xsl:variable>
   <p> Value of x: <xsl:value-of select="$x"/>  </p> 
************************
Thank you for your help
	

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


Current Thread
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