docbook-apps

Expand all | Collapse all

Re: [docbook-apps] How to insert material immediately after and before tags in xhtml output

  • 1.  Re: [docbook-apps] How to insert material immediately after and before tags in xhtml output

    Posted 12-03-2010 16:47
    Hi Mike,
    This would require customizing the template that generates the start and end
    tags. If you are using chunked output, that would be the template named
    'chunk-element-content' in xhtml/chunk-common.xsl. If non-chunked, then customize the
    template with mode="process.root" in xhtml/docbook.xsl.

    Bob Stayton
    Sagehill Enterprises
    bobs@sagehill.net


    ----- Original Message -----
    From: "Mike Broschinsky" <mbroschi@utah.gov>
    To: <docbook-apps@lists.oasis-open.org>
    Sent: Thursday, December 02, 2010 2:45 PM
    Subject: [docbook-apps] How to insert material immediately after and before
    tags in xhtml output


    Greetings,

    I am writing a user manual in DocBook 5, and generating XHTML output with the xhtml
    style sheets from the docbook-xsl-ns-1.75.2 distribution

    I need to be able to do this when processing XHTML output using the xhtml style
    sheets:



    [...body of the transformed document...]



    I have looked at the following:

    1) The instructions at http://www.sagehill.net/docbookxsl/InsertExtHtml.html,
    "Inserting external HTML code", under "In the HEAD element." This results in the


  • 2.  Re: [docbook-apps] How to insert material immediately after and before tags in xhtml output

    Posted 12-07-2010 00:25
    Bob,

    Thanks very much. That did exactly what I need.

    Best,

    Mike

    >>> "Bob Stayton" <bobs@sagehill.net> 12/3/2010 9:46 AM >>>
    Hi Mike,
    This would require customizing the template that generates the start and end
    tags. If you are using chunked output, that would be the template named
    'chunk-element-content' in xhtml/chunk-common.xsl. If non-chunked, then customize the
    template with mode="process.root" in xhtml/docbook.xsl.

    Bob Stayton
    Sagehill Enterprises
    bobs@sagehill.net


    ----- Original Message -----
    From: "Mike Broschinsky" <mbroschi@utah.gov>
    To: <docbook-apps@lists.oasis-open.org>
    Sent: Thursday, December 02, 2010 2:45 PM
    Subject: [docbook-apps] How to insert material immediately after and before
    tags in xhtml output


    Greetings,

    I am writing a user manual in DocBook 5, and generating XHTML output with the xhtml
    style sheets from the docbook-xsl-ns-1.75.2 distribution

    I need to be able to do this when processing XHTML output using the xhtml style
    sheets:



    [...body of the transformed document...]



    I have looked at the following:

    1) The instructions at http://www.sagehill.net/docbookxsl/InsertExtHtml.html,
    "Inserting external HTML code", under "In the HEAD element." This results in the