5 extension-element-prefixes="doc"
6 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
7 xmlns:doc="http://xsltsl.org/xsl/documentation/1.0"
8 xmlns:eg="http://xsltsl.org/example"
11 <doc:reference xmlns="">
13 <releaseinfo role="meta">
14 $Id: example.xsl 3991 2004-11-10 06:51:55Z balls $
17 <surname>Ball</surname>
18 <firstname>Steve</firstname>
22 <holder>Steve Ball</holder>
26 <title>Example Stylesheet</title>
30 <title>Introduction</title>
32 <para>This module provides a template for adding stylesheet modules to the XSLT Standard Library.</para>
33 <para>To add a new module to the library, follow these easy steps:</para>
36 <para>Copy this file and replace its contents with the new module templates and documentation.</para>
39 <para>Copy the corresponding test file in the <filename>test</filename> directory. Replace its contents with tests for the new module.</para>
42 <para>Add an include element in the <filename>stdlib.xsl</filename> stylesheet.</para>
45 <para>Add an entry in the <filename>test/test.xml</filename> file.</para>
48 <para>Add entries in the <filename>test/test.xsl</filename> stylesheet.</para>
51 <para>Add an entry in the <filename>doc/build.xml</filename> file.</para>
55 <para>The <filename>example.xsl</filename> stylesheet provides a more extensive example.</para>
62 <doc:template name="eg:example" xmlns="">
63 <refpurpose>Template Example</refpurpose>
66 <para>Provides a template for writing templates. Replace this paragraph with a description of your template</para>
74 <para>The example string</para>
81 <para>Returns nothing.</para>
85 <xsl:template name="eg:example">
86 <xsl:param name="text"/>