XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
(Deleted User) Subject: Using/filling variables
Author: (Deleted User)
Date: 09 Jul 2001 08:09 AM
Hi Space!

Is it really W3C conform that Stylus Studio gives an error when I try to use
the variable "BildExtension" in the "img" tag?
If so, what can I do, that I can see the variable "BildExtension" in the
"img" tag. (Please don't say, I need to copy the img-line in the
/ tag.).
If this is W3C conform, then how the hell can I fill a variable which value
depens on something and I need the variable later in my XSLT-doc?




.gif


.jpg



(!-- Here Stylus Studio tells me, that
"BildExtension" is not defined! -->


Thank you

Xian

Posttop
Minollo I.Subject: Re: Using/filling variables
Author: Minollo I.
Date: 09 Jul 2001 09:57 AM
At 08:14 AM 7/9/2001 -0400, stylus-studio-xslt Listmanager wrote:
>From: "Christian Cigler"
>
>Hi Space!
>
>Is it really W3C conform that Stylus Studio gives an error when I try to use
>the variable "BildExtension" in the "img" tag?
>If so, what can I do, that I can see the variable "BildExtension" in the
>"img" tag. (Please don't say, I need to copy the img-line in the
>/ tag.).
>If this is W3C conform, then how the hell can I fill a variable which value
>depens on something and I need the variable later in my XSLT-doc?

Yes, it is W3C conform. You are trying to use BildExtension out of its scope.

To do what you are trying to do, you may want to call a named template
specifying the proper parameter.

Hope this helps,
Minollo

 
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.