OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: DOCBOOK: 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@kosek.cz
  http://www.kosek.cz




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]