# WordML Parameter Reference

$Id: param.xml,v 1.2 2006/06/06 07:09:59 sorin Exp $
Ball Steve
2005 2004 Steve Ball

## Introduction

This is technical documentation for the DocBook XSL Stylesheets to produce WordML output (or Apple Pages); it documents the parameters, templates and usage of the stylesheet(s).

This is not intended to be user documentation. It is provided for developers writing customisation layers for the stylesheets, and for anyone who's interested in how it works.

wordml.template
wordml.template Specify the template WordML document

    <xsl:param name="wordml.template" select="''"></xsl:param>

### Description

The wordml.template parameter specifies a WordML document to use as a template for the generated document. The template document is used to define the (extensive) headers for the generated document, in particular the paragraph and character styles that are used to format the various elements. Any content in the template document is ignored.

A template document is used in order to allow maintenance of the paragraph and character styles to be done using Word itself, rather than these XSL stylesheets.

pages.template
pages.template Specify the template Pages document

    <xsl:param name="pages.template" select="''"></xsl:param>

### Description

The pages.template parameter specifies a Pages (the Apple word processing application) document to use as a template for the generated document. The template document is used to define the (extensive) headers for the generated document, in particular the paragraph and character styles that are used to format the various elements. Any content in the template document is ignored.

A template document is used in order to allow maintenance of the paragraph and character styles to be done using Pages itself, rather than these XSL stylesheets.

## The Stylesheet

The `param.xsl` stylesheet is just a wrapper around all of these parameters.

    <xsl:stylesheet exclude-result-prefixes="src" version="1.0">

    <!-- This file is generated from param.xweb; do not edit this file! -->

    <!-- ********************************************************************
         $Id: param.xml,v 1.2 2006/06/06 07:09:59 sorin Exp $
         ********************************************************************

         This file is part of the XSL DocBook Stylesheet distribution.
         See ../README or http://nwalsh.com/docbook/xsl/ for copyright
         and other information.

         ******************************************************************** -->

    <src:fragref linkend="wordml.template.frag"></src:fragref>
    <src:fragref linkend="pages.template.frag"></src:fragref>
    </xsl:stylesheet>