<?xml version="1.0"?>
<!DOCTYPE doc SYSTEM "../doc.dtd">
<?xml-stylesheet type="text/xsl" href="../html.xsl"?>
-<doc style="main.css">
+<doc style="main.css"
+ xmlns:xi="http://www.w3.org/2001/XInclude">
<!--
XML documentation system
Original author : Arjen Baart - arjen@andromeda.nl
- Version : $Revision: 1.2 $
+ Version : $Revision: 1.3 $
This document is prepared for XMLDoc. Transform to HTML,
LaTeX, Postscript or plain text with XMLDoc utilities and
<subtitle>Document preparation and conversion in XML</subtitle>
<author>Arjen Baart <code><arjen@andromeda.nl></code></author>
- <date>Aug 18, 2003</date>
+ <date>Oct 17, 2007</date>
<docinfo>
- <infoitem label="Version">0.5</infoitem>
+ <infoitem label="Version">0.6</infoitem>
<infoitem label="Organization">Andromeda Technology & Automation</infoitem>
</docinfo>
<abstract>
<toc/>
-<include href="intro.xml"/>
+<xi:include href="intro.xml"/>
-<include href="overall.xml"/>
+<xi:include href="overall.xml"/>
-<include href="block.xml"/>
+<xi:include href="block.xml"/>
-<include href="inline.xml"/>
+<xi:include href="inline.xml"/>
<chapter>
<heading>References</heading>
We need to add one more attribute to the usual <strong>href</strong>
attribute.
For example:
+</para>
+
<verbatim>
<reference xml:link="simple"
href="http://www.andromeda.nl/project/xmldoc/xmldoc.html">
</reference>
provide the installation instructions.
</verbatim>
+
+<para>
<reference xml:link="simple"
href="http://www.andromeda.nl/projects/xmldoc/xmldoc.html">
The XMLDoc website
Each <code>label</code> must have a <code>name</code> that is unique
throughout the document.
Here is an example of a label:
+</para>
<verbatim>
<label name='example'/>
</verbatim>
+<para>
You can refer to a label from any other place in the document by using a
<code>ref</code> or a <code>page</code> element.
The <code>page</code> element creates a reference to the page number on which
This is of course only usefull on printed media, such as LaTeX.
The <code>ref</code> and <code>page</code> elements also require one
attribute:
+</para>
<verbatim>
<ref to='example'>example reference</ref>
</verbatim>
+
+<para>
The required attribute <code>to</code> holds the name of the
label to which the reference refers.
The <code>ref</code> element is usually not empty.
</para>
</chapter>
-<include href="multifiles.xml"/>
+<xi:include href="multifiles.xml"/>
+
+<xi:include href="glossary.xml"/>
-<include href="glossary.xml"/>
+<chapter>
+
+<heading>Other XML applications</heading>
+<section>
+<heading>MathML</heading>
+</section>
+<math>
+ <mrow>
+ <msup>
+ <mfenced open="[" close="]">
+ <mrow>
+ <mi>θ</mi>
+ <mo>+</mo>
+
+ <mi>b</mi>
+ </mrow>
+ </mfenced>
+ <mn>260</mn>
+ </msup>
+ <mo>+</mo>
+ <msub>
+
+ <mfenced open="{" close="}">
+ <mrow>
+ <mi>a</mi>
+ <mo>+</mo>
+ <mi>b</mi>
+ </mrow>
+ </mfenced>
+
+ <mi>i</mi>
+ </msub>
+ </mrow>
+</math>
+<section>
+<heading>SVG</heading>
+
+<svg>
+ <clipPath id="a">
+ <circle cy="90" cx="100" r="60"/>
+ </clipPath>
+ <circle fill="#AAAAAA" cy="90" cx="190"
+ r="60" style="clip-path:url(#a)"/>
+ <circle stroke="black" fill="none" cy="90" cx="100" r="60"/>
+ <circle stroke="black" fill="none" cy="90" cx="190" r="60"/>
+</svg>
+
+
+</section>
+</chapter>
<chapter>
<heading>Things to do</heading>
<itemize>
-<item>Math</item>
+<item>MathML and SVG conversion to LaTeX</item>
<item>XML Schema definition and validation</item>
<item>Font sizes</item>
<item>Center environment</item>