Re: Repeat within HTML table

Sounds reasonable...my thinking this morning when originally reading the
question what that it's sort of analogous to any other server-side
"templating" approach, e.g. a mixture of HTML and JSP.  One doesn't worry
about whether that document is well-formed HTML since it doesn't have that
purpose but rather is a generator of (hopefully) well-formed HTML for the
client to consume...Charlie



                                                                                                                                          
  From:       Erik Bruchez <ebruchez@orbeon.com>                                                                                          
                                                                                                                                          
  To:         www-forms@w3.org                                                                                                            
                                                                                                                                          
  Date:       08/04/2009 12:38 PM                                                                                                         
                                                                                                                                          
  Subject:    Re: Repeat within HTML table                                                                                                
                                                                                                                                          
  Sent by:    www-forms-request@w3.org                                                                                                    
                                                                                                                                          





Alain,

Very good question. In Orbeon Forms as well, and for author
convenience, we allow xforms:repeat and xforms:group around tr and td
within tables, even though it is not "allowed". That could be a
problem if a web browser was looking at that DOM directly, but in our
case and in yours, or any situation where some sort of transformation
takes place first, I do not think it is an actual problem.

Wondering what other people think about this.

-Erik

On Tue, Aug 4, 2009 at 5:20 AM, COUTHURES
Alain<alain.couthures@agencexml.com> wrote:
> Hello,
>
> While testing EMC Formula XForms engine, I have discovered this in the
specs
> :
>
> Thus, one might wish to use element repeat within a table to create the
rows
> of a table, where each row of the table binds to a distinct member of a
> repeat collection. Since html:table doesn't  (and perhaps  never will)
allow
> xforms:repeat elements as children, another syntax is needed.
>
> It appears that it is not a constraint for XSLTForms to use xforms:repeat
> under html:table so I would like to know if it is still considered as a
real
> problem, if it's forbidden or not.
>
> Thank you for your answers.
>
> Best regards,
>
> Alain Couthures
> <agencexml>
> http://www.agencexml.com/xsltforms
>

Received on Tuesday, 4 August 2009 16:41:31 UTC