+++ /dev/null
-<refentry xmlns="http://docbook.org/ns/docbook"\r
- xmlns:xlink="http://www.w3.org/1999/xlink"\r
- xmlns:xi="http://www.w3.org/2001/XInclude"\r
- xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"\r
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"\r
- version="5.0" xml:id="textinsert.extension">\r
- <refmeta>\r
- <refentrytitle>textinsert.extension</refentrytitle>\r
- <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>\r
- </refmeta>\r
- <refnamediv>\r
- <refname>textinsert.extension</refname>\r
- <refpurpose>Enables the textinsert extension element</refpurpose>\r
- </refnamediv>\r
- <refsynopsisdiv>\r
- <src:fragment xml:id="textinsert.extension.frag">\r
- <xsl:param name="textinsert.extension" select="1"/>\r
-</src:fragment>\r
- </refsynopsisdiv>\r
- <refsection><info><title>Description</title></info>\r
- <para>The textinsert extension element inserts the contents of\r
- a file into the result tree (as text).</para>\r
- <note>\r
- <para>To use the textinsert extension element, you must use\r
- either Saxon or Xalan as your XSLT processor (it doesn’t\r
- work with xsltproc), along with either the DocBook Saxon\r
- extensions or DocBook Xalan extensions (for more\r
- information about those extensions, see <link\r
- role="tcg" xlink:href="InstallingAProcessor.html#SaxonExtensions"\r
- >DocBook Saxon Extensions</link> and <link\r
- role="tcg" xlink:href="InstallingAProcessor.html#XalanExtensions"\r
- >DocBook Xalan Extensions</link>), and you must set both\r
- the <parameter>use.extensions</parameter> and\r
- <parameter>textinsert.extension</parameter> parameters to\r
- <literal>1</literal>.</para>\r
- <para>As an alternative to using the textinsert element,\r
- consider using an Xinclude element with the\r
- <literal>parse="text"</literal> attribute and value\r
- specified, as detailed in <link\r
- role="tcg" xlink:href="ExternalCode.html#XIncludeCode"\r
- >Using XInclude for text inclusions</link>.</para>\r
- </note>\r
- </refsection>\r
- <refsection><info><title>See Also</title></info>\r
- <para>You can also use the <tag\r
- class="xmlpi">dbhtml-include href</tag> processing\r
- instruction to insert external files — both files containing\r
- plain text and files with markup content (including HTML\r
- content).</para>\r
- </refsection>\r
- <refsection><info><title>More information</title></info>\r
- <para>For how-to documentation on inserting contents of\r
- external code files and other text files into output, see\r
- <link\r
- role="tcg" xlink:href="ExternalCode.html"\r
- >External code files</link>.</para>\r
- <para>For guidelines on inserting contents of\r
- HTML files into output, see <link\r
- role="tcg" xlink:href="InsertExtHtml.html"\r
- >Inserting external HTML code</link>.</para>\r
- </refsection>\r
-</refentry>\r