This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: XHTML tables


Tobias Reif wrote:

> Discussing this topic is fine; turning in circles is not.

Well you have proposed using HTML tables in their own namespaces. Could
you please cut circle and show me and the other folks how this will
work? I'm really concerned that this is not very usable solution,
because:

You will either need to prefix all HTML table elements and you wouldn't
be then
able to cut'n'paste from HTML. 

<html:table xmlns:html="http://www.w3.org/1999/xhtml";>
  <html:tr>
    <html:td>Cell with <emphasis>emphasized words</emphasis></html:td>
  </html:tr>
</html:table>

Or you will use default namespace for 
table element, so there won't be need for prefixing, but then you will
be forced to change default namespace for table cell content. And this
will be hassle as table cell can contain mixed content.

<table xmlns="http://www.w3.org/1999/xhtml";>
  <tr>
    <td>Cell with <emphasis
xmlns="urn:x-example:schemas:docbook:5.0">emphasized
words</emphasis></td>
  </tr>
</table>

Which style from these two did you preffer?  Or do you have any other
solution which won't be as complex? 

				Jirka

-- 
-----------------------------------------------------------------
  Jirka Kosek  	                     
  e-mail: jirka at kosek dot cz
  http://www.kosek.cz


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]