variable in attribute

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

variable in attribute

Teun van Eijsden
Is it possible to use a varibale in an html attribute?
Something like this:
 
<td colspan="{count(/foo)}"/>
 
 
Thanks in advance, Teun
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

-- The information contained in this communication and any attachments is confidential and may be privileged, and is for the sole use of the intended recipient(s). Any unauthorized review, use, disclosure or distribution is prohibited. Unless explicitly stated otherwise in the body of this communication or the attachment thereto (if any), the information is provided on an AS-IS basis without any express or implied warranties or liabilities. To the extent you are relying on this information, you are doing so at your own risk. If you are not the intended recipient, please notify the sender immediately by replying to this message and destroy all copies of this message and any attachments. ASML is neither liable for the proper and complete transmission of the information contained in this communication, nor for any delay in its receipt.

--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: variable in attribute

Alessandro Vernet
Administrator
Teun,

On 9/20/07, Teun van Eijsden <[hidden email]> wrote:
> Is it possible to use a varibale in an html attribute?
> Something like this:
>
> <td colspan="{count(/foo)}"/>

You can in XSLT, but not in XForms. Those are called AVTs (attribute
value templates) and are not supported in XForms. However they would
be extremely convenient, so we have been thinking about supporting
AVTs in Orbeon Forms, extending on XForms.

Depending on your case, there are a few workarounds. Let us know if
you can't find any in your case.

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: variable in attribute

Erik Bruchez
Administrator
In reply to this post by Teun van Eijsden
Hi Teun,

Not yet, but this is a feature we would like to implement in the future:

http://forge.objectweb.org/tracker/index.php?func=detail&aid=305567&group_id=168&atid=350207

-Erik

Teun van Eijsden wrote:
> Is it possible to use a varibale in an html attribute?
> Something like this:
>  
> <td colspan="{count(/foo)}"/>
>  
>  
> Thanks in advance, Teun

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws