Subject: how to create a table-part header? From: "Koblizek, Vaci" <Vaci-Koblizek@xxxxxxxxxx> Date: Tue, 3 Nov 1998 18:45:56 -0000 |
I'm struggling through my first attempt to create a table in an rtf document using DSSSL. I'm trying to follow the documentation in http://sunsite.unc.edu/pub/sun-info/standards/dsssl/dssslo/do960816.htm , but I'm stuck as to how to get my "HEADING" element to flow into the "header port" of the table-part flow object, as indicated by this description: "A table-part flow object is allowed only within a table flow object. A table-part flow object has three ports: the principal port is used for the table body. header is used for the table header. footer is used for the table footer." Should I be tagging my header element somehow to get it flow into the non-default object? Vaci Koblizek My test data is as follows: testdoc.dtd: <!ELEMENT testdoc - - (table) > <!ELEMENT table - - (tablepart)* > <!ELEMENT heading - - (#PCDATA) > <!ELEMENT tablepart - - (heading?, row*) > <!ELEMENT summary - - (#PCDATA) > <!ELEMENT row - - (cell+) > <!ELEMENT cell - - (#PCDATA) > testdoc.dsl: (element TESTDOC (make sequence font-family-name: "Arial" input-whitespace-treatment: 'collapse quadding: 'start (process-children))) (element TABLE (make table (process-children))) (element TABLEPART (make table-part (process-children))) (element ROW (make table-row (process-children))) (element CELL (make table-cell (process-children))) testdoc.xml: <?xml version="1.0"?> <!DOCTYPE testdoc SYSTEM "testdoc.dtd"> <testdoc> <table> <tablepart> <heading>Part of the table</heading> <row><cell>A</cell><cell>B</cell></row> </tablepart> </table> </testdoc> DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
ANN: CSLDSSSL (was: DocBook and Jad, G. Ken Holman | Thread | Re: how to create a table-part head, Tony Graham |
ANN: CSLDSSSL (was: DocBook and Jad, G. Ken Holman | Date | HyBrick V0.8 with XLink/XPointer is, Ralph Ferris |
Month |