W3C home > Mailing lists > Public > www-forms@w3.org > June 2004

Setting attribute values in xf:repeat

From: Robin Berjon <robin.berjon@expway.fr>
Date: Mon, 28 Jun 2004 19:31:58 +0200
Message-ID: <40E0560E.50103@expway.fr>
To: www-forms@w3.org


I seem to either be missing something, or have found some inconvenience, 
with xf:repeat (I hope the former obviously).

In a nutshell, I need to produce some SVG from inside an xf:repeat in a 
manner similar to how one might produce, say, an XHTML table, but with 
spacial rendering. To express it in a way that the XSLT user should find 

   <xf:repeat nodeset='/foo:bar/foo:stuff'>
     <svg:circle r='5' cx='{@x}' cy='{@y}'/>

Now I know that XForms isn't XSLT, but the ability to do the above would 
be dead useful for forms that don't have "conventional" presentations 
and may be using, for instance drag an drop of little circles as a way 
to modify instance data. But I haven't found any mention of attribute 
value templates as they are called in XSLT. I looked at xf:output to see 
if it could route its information to an attribute, and at xf:setvalue to 
see if it could somehow apply to repeat templates, but have so far not 
found anything.

Am I missing something obvious?

Robin Berjon
Received on Monday, 28 June 2004 13:32:21 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:36:13 UTC