Skip to content
Snippets Groups Projects
Commit e9209338 authored by Goik Martin's avatar Goik Martin
Browse files

missing table.xsd reference

parent 92aa4d45
No related branches found
No related tags found
No related merge requests found
......@@ -1917,6 +1917,42 @@ public class Memo {
class="element">itemizedList</tag>.</para>
</callout>
</calloutlist>
<para>The <filename><link
xlink:href="Sda1/Ref/src/Dtd/book/v5/table.xsd">table.xsd</link></filename>
schema module mimics the <xref linkend="glo_HTML"/> table
model:</para>
<programlisting language="xml">&lt;xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" elementFormDefault="qualified"
vc:minVersion="1.0" vc:maxVersion="1.1"&gt;
&lt;xs:element name="table"&gt;
&lt;xs:complexType&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="caption" type="xs:string"/&gt;
&lt;xs:element ref="tr" minOccurs="1" maxOccurs="unbounded"/&gt;
&lt;/xs:sequence&gt;
&lt;xs:attribute name="border"/&gt;
&lt;/xs:complexType&gt;
&lt;/xs:element&gt;
&lt;xs:element name="tr"&gt;
&lt;xs:complexType&gt;
&lt;xs:sequence&gt;
&lt;xs:element ref="td" minOccurs="1" maxOccurs="unbounded"/&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
&lt;/xs:element&gt;
&lt;xs:element name="td"&gt;
&lt;xs:complexType mixed="true"&gt;
&lt;xs:attribute name="colspan" type="xs:positiveInteger" use="optional"/&gt;
&lt;xs:attribute name="rowspan" type="xs:positiveInteger" use="optional"/&gt;
&lt;/xs:complexType&gt;
&lt;/xs:element&gt;
&lt;/xs:schema&gt;</programlisting>
</answer>
</qandaentry>
</qandadiv>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment