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; examples


P.S.

I think I forgot caption as one more element which should be allowed to contain DocBook elements.

In XHTML 1.0 there's

<!ELEMENT caption  %Inline;>
<!ELEMENT th       %Flow;>
<!ELEMENT td       %Flow;>

Tobi

complete listing:
<!ELEMENT table
     (caption?, (col*|colgroup*), thead?, tfoot?, (tbody+|tr+))>
<!ELEMENT caption  %Inline;>
<!ELEMENT thead    (tr)+>
<!ELEMENT tfoot    (tr)+>
<!ELEMENT tbody    (tr)+>
<!ELEMENT colgroup (col)*>
<!ELEMENT col      EMPTY>
<!ELEMENT tr       (th|td)+>
<!ELEMENT th       %Flow;>
<!ELEMENT td       %Flow;>


So the content model described in
tdg-en-html-2.0.7/tdg/en/html/entry.html
would be allowed inside tr and th. Something I forgot? Other XHTML table elements which will allowed to contain DocBook elements?


--
http://www.pinkjuice.com/


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