On saving my document as xml the table titles are not carried into the xml the file. Tbale head nd body elemets are created in xml but the table title element is created at all.
Any ideas what I have done wrong would be much appreciated.
DTD:
<!ELEMENT Table (Tgroup) >
<!ATTLIST Table Position (Anywhere|TopOfPage) "Anywhere"
Orientation (Portrait|Rotated) "Portrait" >
<!--Tgroup: Tgroup. Group of elements that go together to form a table.-->
<!ELEMENT Tgroup (colspec*, spanspec*, Ttitle?, Thead?, Tbody, Tfoot?) >
<!ATTLIST Tgroup ID ID #IMPLIED
colsep NMTOKEN #IMPLIED
cols NMTOKEN #REQUIRED
colwidth CDATA #IMPLIED
rowsep NMTOKEN #IMPLIED
tabstyle CDATA #IMPLIED
>
<!ELEMENT colspec EMPTY>
<!ATTLIST colspec
align (left|center|right|justify|char) #IMPLIED
char CDATA #IMPLIED
charoff NMTOKEN #IMPLIED
colname NMTOKEN #IMPLIED
colnum NMTOKEN #IMPLIED
colsep NMTOKEN #IMPLIED
colwidth CDATA #IMPLIED
rowsep NMTOKEN #IMPLIED
>
<!ELEMENT spanspec EMPTY>
<!ATTLIST spanspec
align (left|center|right|justify|char) #IMPLIED
char CDATA #IMPLIED
charoff NMTOKEN #IMPLIED
colsep NMTOKEN #IMPLIED
nameend NMTOKEN #REQUIRED
namest NMTOKEN #REQUIRED
rowsep NMTOKEN #IMPLIED
spanname NMTOKEN #REQUIRED
>
<!--Ttitle: TabelTitle. Table title text.-->
<!ELEMENT Ttitle (#PCDATA | Footnote | Tcont | IndexMarker)* >
<!--Thead: Thead. Heading table row.-->
<!ELEMENT Thead (colspec*, Tr+) >
<!--Tbody: Tbody. Tbale body composed of rows.-->
<!ELEMENT Tbody (colspec*, Tr+) >
<!--Tfoot: Tfoot. Tabel footer row.-->
<!ELEMENT Tfoot (colspec*, Tr+) >
<!--Tr: Tr. Table row composed of table cells-->
<!ELEMENT Tr (Td+) >
<!--Td: Td. Table cell containing text.-->
<!ELEMENT Td (#PCDATA | Para | Footnote | XRef | Part |
PartNumber | PartDescription | Graphic |
IndexMarker)* >
<!ATTLIST Td VertAlign (Top|Middle|Bottom) "Top"
HozAlign (Left|Centre|Right) "Left" >
<!--Tcont: Tcont. Table continuation.-->
<!ELEMENT Tcont EMPTY >
EDD:
Element (Container): Table
General rule: Tgroup
Attribute list
Name: Position Choice Optional
Choices: Anywhere, TopOfPage
Default: Anywhere
Name: Orientation Choice Optional
Choices: Portrait, Rotated
Default: Portrait
Automatic insertions
Automatically insert child: Tgroup
Text format rules
In all contexts.
Use paragraph format: Table
If context is: [Position = “TopOfPage”]
Pagination properties
Start position: Top of page
Tgroup. Group of elements that go together to form a table.
Element (Table): Tgroup
General rule: Ttitle?, Thead?, Tbody, Tfoot?
Attribute list
Name: ID Unique ID Optional
Control flags: Read-only
Initial table format
If context is: Table < RevDetails
Table format: RevisionDetails
Ttitle. Table title text.
Element (Table Title): Ttitle
General rule: (<TEXT> | Footnote | Tcont | IndexMarker)*
Text format rules
In all contexts.
Use paragraph format: TableTitle
Thead. Heading table row.
Element (Table Heading): Thead
General rule: Tr+
Tbody. Tbale body composed of rows.
Element (Table Body): Tbody
General rule: Tr+
Tfoot. Tabel footer row.
Element (Table Footing): Tfoot
General rule: Tr+
Tr. Table row composed of table cells
Element (Table Row): Tr
General rule: Td+
Td. Table cell containing text.
Element (Table Cell): Td
General rule: (<TEXT> | Para | Footnote | XRef | Part | PartNumber | PartDescription | Graphic | IndexMarker)*
Attribute list
Name: VertAlign Choice Optional
Choices: Top,Middle,Bottom
Default: Top
Name: HozAlign Choice Optional
Choices: Left,Centre,Right
Default: Left
Text format rules
If context is: Tr < Thead
Use paragraph format: CellHeading
Else
Use paragraph format: CellBody
If context is: [VertAlign = “Top”]
Table cell properties
Vertical alignment: Top
Else, if context is: [VertAlign = “Middle”]
Table cell properties
Vertical alignment: Middle
Else, if context is: [VertAlign = “Bottom”]
Table cell properties
Vertical alignment: Bottom
If context is: [HozAlign = “Left”]
Basic properties
Alignment: Left
Else, if context is: [HozAlign = “Centre”]
Basic properties
Alignment: Center
Else, if context is: [HozAlign = “Right”]
Basic properties
Alignment: Right
Tcont. Table continuation.
Element (System Variable): Tcont
System variable format rule
In all contexts.
Use system variable: Table Continuation