how to get xforms:output into an attribute?

On the FormFaces help forum I was suggested to send this use case to this list.

http://sourceforge.net/forum/forum.php?thread_id=1696000&forum_id=458081

"Suppose, you have an instance containing a list

<list>
<item link="http://www.example.com" linktext="Example site"/>
<item link="http://www.wikipedia.org" linktext="A really nice
dictionary"/>
</list>

and you want to use the <xforms:repeat> element to iterate over the
list to produce something like this xhtml output,

<a href="http://www.example.com">Example site</a>
<a href="http://www.wikipedia.org">A really nice dictionary</a>

Could this be done with the <xforms:output> element somehow?
 "

I've got the answer that it isn't possible and I also found out that
the same question has been asked before on this list:

question:
http://lists.w3.org/Archives/Public/www-forms/2004Jun/0036.html
answer:
http://lists.w3.org/Archives/Public/www-forms/2004Jul/0028.html

My interest would be to have a SOAP-based bioinformatics web service
that could serve both machines and humans ( through xforms ) at the
same time. Right now it seems that I'd better generate some
xhtml-tables on the server side for the human interaction part. But if
I would be able to set attribute values inside xforms:repeats, the
server wouldn't need to bother with GUI details.

This ought to be a quite common use case. How do you solve it right now?

cheers,
Erik Sjölund

Received on Tuesday, 20 March 2007 11:47:06 UTC