Re: [SVG] grid based layout DTD suggestion

 > <grid>
 >  <grid-cell row='1' col='2'></grid-cell>
 > </grid>

I think I'd prefer s.th. simple, like

<grid>
   <row>
     <cell><rect.../></cell>
     <cell><rect.../></cell>
   </row>
   <row>
     <cell><rect.../></cell>
     <cell><rect.../></cell>
   </row>
</grid>

<grid>
   <col>
     <cell><rect.../></cell>
     <cell><rect.../></cell>
   </col>
   <col>
     <cell><rect.../></cell>
     <cell><rect.../></cell>
   </col>
</grid>

(naming: "row" or "grid-row", "col"
or "grid-col", "cell" or "grid-cell")


plus span, perhaps plus s.th. like 'draggable="true"' and 'flow="true"',
to allow for repositioning of UI elements and groups (eg rows), as in
webDraw etc

 > Any body else as interesting ideas?

Looking at GUI toolkits is probably helpful. XUL etc etc.

===============

I think that the following is the simplest form possible:

<grid>
     <cell row='1' col='1' rowspan='2' colspan='2'>
        <use xlink:href='#background' x='0' y='0'/>
     </cell>
     <cell row='1' col='1'><rect.../></cell>
     <cell row='1' col='2'><rect.../></cell>
     <cell row='2' col='1'><rect.../></cell>
     <cell row='2' col='2'><rect.../></cell>
     <cell row='2' col='1' rowspan='2'><rect.../></cell>
</grid>

What you think?

Sincerely yours,
Fred.

_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*   
http://join.msn.com/?page=features/junkmail

Received on Friday, 2 May 2003 00:15:10 UTC