Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<refentry xmlns=""
  version="5.0" xml:id="textinsert.extension">
    <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
    <refpurpose>Enables the textinsert extension element</refpurpose>
    <src:fragment xml:id="textinsert.extension.frag">
  <xsl:param name="textinsert.extension" select="1"/>
    <para>The textinsert extension element inserts the contents of
      a file into the result tree (as text).</para>
      <para>To use the textinsert extension element, you must use
        either Saxon or Xalan as your XSLT processor (it doesn’t
        work with xsltproc), along with either the DocBook Saxon
        extensions or DocBook Xalan extensions (for more
        information about those extensions, see <link
          role="tcg" xlink:href="InstallingAProcessor.html#SaxonExtensions"
          >DocBook Saxon Extensions</link> and <link
          role="tcg" xlink:href="InstallingAProcessor.html#XalanExtensions"
          >DocBook Xalan Extensions</link>), and you must set both
        the <parameter>use.extensions</parameter> and
        <parameter>textinsert.extension</parameter> parameters to
      <para>As an alternative to using the textinsert element,
        consider using an Xinclude element with the
        <literal>parse="text"</literal> attribute and value
        specified, as detailed in <link
          role="tcg" xlink:href="ExternalCode.html#XIncludeCode"
          >Using XInclude for text inclusions</link>.</para>
  <refsection><info><title>See Also</title></info>
    <para>You can also use the <tag
        class="xmlpi">dbhtml-include href</tag> processing
      instruction to insert external files — both files containing
      plain text and files with markup content (including HTML
  <refsection><info><title>More information</title></info>
    <para>For how-to documentation on inserting contents of
      external code files and other text files into output, see
        role="tcg" xlink:href="ExternalCode.html"
        >External code files</link>.</para>
    <para>For guidelines on inserting contents of
      HTML files into output, see <link
        role="tcg" xlink:href="InsertExtHtml.html"
        >Inserting external HTML code</link>.</para>
New to GrepCode? Check out our FAQ X