Arbalo XSLT Framework

Layout of  register.xml

  1. Processing instructions
  2. head
  3. body

The register file register.xml  has links to the XML source document files of the presentation in the directory where it belongs to. It assigns source documents ( *.xml ) to chapters. It defines the outline of the presentation. The headings of level 1 (common header of the presentation) and of level 2 (header of a source document file) are defined here. It also contains code of the XHTML head  section that is common to all source files.

register.xml has the following layout:


Processing instructions, name spaces, language

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="arbalo.xsl" type="text/xsl"?>

lang=…  defines the language of the presentation, here en = English.

The attribute a:filename  is not necessary in the register file, but should have the value register.xml  if present.



    <meta name="robots"
          content="index,follow" />
    <meta name="author"
          content="Jürgen Martin Regel" />
    <link rel="shortcut icon"
          href="favicon.ico" />

The head section head is used for the overall document and for each single document file. The other source document files *.xml  need not have a head section. If they have, their head  section is mixed with the common head section of register.xml .



		<h1>Arbalo XSLT Framework</h1>
		<section class="overview">
			<h1>Overview and directory structure</h1>
			<a href="index"> Overview</a>
			<a href="Structure">Directory structure</a>
		<section class="document">
			<h1>Source document</h1>
			<a href="RegisterFile">Layout of <code>register.xml</code></a>
			<a href="DocumentFile">Layout of document file (e. g. <code>index.xml</code>)</a>

The presentation is subdivided by nested chapters (we use the new XHTML tag section  for this purpose. Each section may contain subsections. A section should start whith a h1  heading. The body  may be regarded as a section at root level. Its h1  is used as the common header of the presentation.

The text of the link, that is everything between <a> and </a>   , is rendered as table of contents and as h2  heading of the particular document file.

If the URL is a simple filename without path and extension, it is recognized as an link to a document file of this presentation. The extension is inserted automatically by the XSLT style sheet during transformation depending on interpretation or compilation.

In order to see an example please follow the link register and have the source text displayed.