Re: Setting attribute values in xf:repeat

Hi,

was my question dumb to the point that no one even wanted to consider 
answering it? :)

I know that using sXBL makes the problem go away, but here we are 
considering an implementation in a mobile device, and sXBL is currently 
ruled out.

Without the ability to set attributes thusly, mixing XForms and SVG is 
only marginally useful in the absence of yet another spec to bridge the 
two. We would certainly have to drop plans to support it, which I would 
be quite sorry to have to do.

Thanks for any input,

===

Hi,

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 
obvious:

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

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 Tuesday, 27 July 2004 09:48:39 UTC