ZedAI RNIB DTDs Simpdoca sample

From zedwiki

Jump to: navigation, search
<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="z:\apps\xml\xsl\siaht.xsl"?>      
<simpdoca> 
<ver>system version 54</ver> 
<comment>This is a comment</comment> 
<bannerlogo type="RNIB"></bannerlogo> 
<title>This is a Simple Document</title> 
<subtitle>This is a subtitle</subtitle> 
<contents> 
<head>Contents</head> 
<entry1> 
<secname><linkto location="#place1">The first section</linkto></secname> 
<pageno>2</pageno> 
</entry1> 
<entry2> 
<secname>A level 2 entry</secname> 
<pageno>3</pageno> 
</entry2> 
<entry3> 
<secname>A level 3 entry</secname> 
<pageno>4</pageno> 
</entry3> 
<entry4> 
<secname>A level 4 entry</secname> 
<pageno>6</pageno> 
</entry4> 
<entry1> 
<secname>A main entry again</secname> 
<pageno>10</pageno> 
</entry1> 
</contents> 
<p>1.2. This 2-¢ is a test 3.4 to <braille>hello</braille> see if 12345678 this simple <i>format</i> works. The <acronym>RNIB</acronym> might find it 123 45/67 89 useful.</p><?diss track?> 
<p>This paragraph contains some computer text: <computer>c:\docs\file.txt</computer>. 6km is different to 6KB I hope. There was 25 Kb but not 25 kB of data. A 3KHz sound. A phone number 0181-456 87654, then more computer text: <computer>c:\docs\file.txt</computer>. Here is an email address: <email>sphippen@rnib.org.uk</email>, and a web address: <web>www.rnib.org</web> Now superscripts m<sup>2</sup> and subscripts m<sub>3</sub> etc.</p> 
<list> 
<litem>5.6: This is a 1.2 list of item which will show how the text is <b>formatted</b> when the line runs over.</litem> 
<litem>1. This is a new list item.</litem> 
<list> 
<litem>3.4. This is a sublist 6.7 item which I will keep typing to see how the runover is formatted. Will it be correct?</litem> 
<litem>This is a new item</litem> 
</list> 
<litem>This is a main list item</litem> 
</list><?diss beep?> 
<p>This is a new paragraph.</p> 
<p2>This is a subparagraph level 1.</p2> 
<p3>This is a subparagraph level 2.</p3> 
<section> 
<head><bookmark name="place1">1.2 This is a 3.4 section</bookmark></head> 
<subhead>This is a subhead</subhead> 
<p>The paragraph at the start of a new section. I want this to be formatted correctly after any heading which may precede it.</p> 
<points> 
<point>This is point which will be used for things such as page referenced items when doing editorial instructions.</point> 
<point>This is another point</point> 
</points> 
<p>This is a new para.</p> 
<p>This is a new paragraph with a phone string 00123456 and 320567 here. Also a credit card number: 1234 1234 1234 1234 too.</p> 
<p>This is a new para with 0005/007220 17631 in it, and a normal phone 01832 678 554, and a date: 10.10.06 too.</p> 
<p>Some money: -ú12 or -ú6.50 or -ú12,500.90 or -ú1,000.</p> 
<subsect1> 
<head>This is a subsection level 1</head> 
<subhead>This is a subhead</subhead> 
<list type="1"> 
<litem>This is a list</litem> 
<litem>This is another point</litem> 
</list> 
<p>This is a paragraph after the subsection heading.</p> 
<subsect2> 
<subsect3> 
<p>This subsect3 has no heading, and nor does the subsect2 which contains it.</p> 
</subsect3> 
</subsect2> 
<subsect2> 
<head>This is a subsection level 2</head> 
<subhead>This is a subhead</subhead> 
<p>This is a paragraph in subsection level 2.</p> 
<subsect3> 
<head>Subsection level 3</head> 
<subhead>This is a subhead</subhead> 
<p>This is a paragraph in a level 3 subsection</p> 
<box> 
<head>This is a box head</head> 
<p>This is a paragraph in the box</p> 
</box> 
</subsect3> 
</subsect2> 
</subsect1> 
</section> 
<section> 
<head>This is a new main section</head> 
<subsect1> 
<head>This is a subsection1 heading after a main heading</head> 
<p>This is a paragraph.</p> 
<table> 
<head>Table 1</head> 
<p>The following table is an example (there are now two tables here!):</p> 
<tablebody> 
<colheads> 
<chead>Car</chead> 
<chead>Colour</chead> 
<chead>Date</chead> 
</colheads> 
<row> 
<di>Ford</di> 
<di>Blue</di> 
<di>Sept 1998</di> 
</row> 
<row> 
<di>Morris</di> 
<di></di> 
<di>Oct 1997</di> 
</row> 
<row> 
<di>Austin</di> 
<di>Green</di> 
<di>Jan 1965</di> 
</row> 
</tablebody> 
<tablebody> 
<colheads> 
<chead>Car</chead> 
<chead>Colour</chead> 
<chead>Date</chead> 
</colheads> 
<row> 
<di>Ford</di> 
<di>Blue</di> 
<di>Sept 1998</di> 
</row> 
<row> 
<di>Morris</di> 
<di>Red</di> 
<di>Oct 1997</di> 
</row> 
<row> 
<di>Austin</di> 
<di>Green</di> 
<di>Jan 1965</di> 
</row> 
</tablebody> 
<p>This is a para after the table body.</p> 
</table> 
<p>That was a table.</p> 
</subsect1> 
</section> 
<end> 
<name>Stephen Phippen</name> 
<date>11th June 1998</date> 
<filename>c:\sgmlutil\docs\testdocs\simpat.xml</filename> 
</end> 
</simpdoca> 
Personal tools