How to get a valid HTML output from Mallard files?

I've played a bit with Mallard. The Tetravex manual seems to be a good
test area. I have created three *.page files and tried to convert them
to HTML with the following commands:

xsltproc /usr/share/xml/gnome/xslt/mallard/html/mal2html.xsl
> index.html

xsltproc /usr/share/xml/gnome/xslt/mallard/html/mal2html.xsl > introduction.html

xsltproc /usr/share/xml/gnome/xslt/mallard/html/mal2html.xsl
> usage.html

As a result I've got three files named as expected. But when I try to
open index.html, there only appears the content of, and no
links to the subpages are provided. Seems that the normal xsltproc
doesn't work here. Is there a universal command to get a matching HTML
structure from multiple Mallard pages?

I'm using Fedora 11 (with an upgraded gnome-doc-utils package v0.18),
that's why I cannot view the Mallard pages directly with Yelp.

<page xmlns="";

    <revision version="2.10" date="2005-06-01" status="final"/>

    <credit type="author">
      <name>Rob Bradford</name>
      <email>robster debian org</email>
      <name>GNOME Documentation Project</name>

    <license>Creative Commons Share Alike 3.0</license>
    <include href="legal.xml" xmlns=""; />

  <title>Tetravex manual</title>

  <p><app>Tetravex</app> is a simple puzzle game in which pieces have numbers 
	on each side. The pieces must be positioned so that the same 
	numbers touch each other, during which you are being timed. 
	The times are then stored in a system-wide scoreboard.</p>
  <section id="intro" style="2column">

  <section id="usage" style="2column">
    <title>Playing GNOME Tetravex</title>

Title: Introduction
Introduction to GNOME Tetravex.

GNOME Tetravex is a simple puzzle where pieces must be positioned so that the same numbers are touching each other. Your game is timed, these times are stored in a system-wide scoreboard.

To run GNOME Tetravex, select GamesGnotravex from the Main Menu, or type gnotravex on the command line.

GNOME Tetravex is included in the gnome-games package, which is part of the GNOME desktop environment. This document describes version 2.30 of GNOME Tetravex.

Title: Playing GNOME Tetravex
How to play the game.

GNOME Tetravex is a simple puzzle game, this section covers how to play the game.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]