docbook-apps

  • 1.  customizing profiling templates

    Posted 05-16-2008 10:37

    Hi all !

    I'm new to Docbook, and i have got one problem now, which i cant solve
    at the moment.

    I want to profile my files with my own profiling attributes.

    So theres not the problem.

    My problem appears when i must adapt the stylesheets under /fo folder .

    I found out that i must add my new attributes and the processing of the
    attributes to following files:

    - param.xsl
    - /profiling/profile-mode.xsl

    So when i adapt these two files it works fine !

    But i dont want to change the standard files. I want to have a new for
    example param_custom.xsl where i import my param.xsl and add the new
    profiling parameters i want to have. The same with the profiling-mode.xsl.

    But when i do this, the profiling doesn't work any more like before.

    Can anyone please help me, and give me an example of how to write the
    *_custom.xsl files.

    Thx for help !

    ~manuel

    --
    --
    Manuel Wallnöfer
    MSK-Informatik GesmbH Büro Linz:
    Zeillergasse 5/309 Hauptstrasse 71
    A - 1160 Wien A - 4040 Linz

    fon: + 43 - 699 - 18181929
    fax: + 43 - 732 - 711 311 22
    mailto: manuel.wallnoefer@msk-informatik.at
    web: http://www.msk-informatik.at
    http://www.opencms.at






  • 2.  RE: [docbook-apps] customizing profiling templates

    Posted 05-19-2008 16:12
    >


  • 3.  Re: [docbook-apps] customizing profiling templates

    Posted 05-19-2008 21:19
    Manuel,

    There's an excellent description of how to customize the stylesheets in
    Bob Stayton's book, "DocBook XSL The Complete Guide," which is available
    in print and on-line. The description about customizing the stylesheets
    can be found at: http://www.sagehill.net/docbookxsl/CustomMethods.html
    and, as Mauritz describes in his email, there's also an excellent
    discussion of profiling.

    If you'll be doing very much customization, you should consider getting
    a copy of Bob's book. It's a great reference; I use it all the time.

    Dick Hamilton
    http://rlhamilton.net



    On Fri, 2008-05-16 at 12:36 +0200, Manuel Wallnoefer wrote:
    >
    > Hi all !
    >
    > I'm new to Docbook, and i have got one problem now, which i cant solve
    > at the moment.
    >
    > I want to profile my files with my own profiling attributes.
    >
    > So theres not the problem.
    >
    > My problem appears when i must adapt the stylesheets under /fo
    > folder .
    >
    > I found out that i must add my new attributes and the processing of
    > the attributes to following files:
    >
    > - param.xsl
    > - /profiling/profile-mode.xsl
    >
    > So when i adapt these two files it works fine !
    >
    > But i dont want to change the standard files. I want to have a new for
    > example param_custom.xsl where i import my param.xsl and add the new
    > profiling parameters i want to have. The same with the
    > profiling-mode.xsl.
    >
    > But when i do this, the profiling doesn't work any more like before.
    >
    > Can anyone please help me, and give me an example of how to write the
    > *_custom.xsl files.
    >
    > Thx for help !
    >
    > ~manuel
    > --
    > --
    > Manuel Wallnöfer
    > MSK-Informatik GesmbH Büro Linz:
    > Zeillergasse 5/309 Hauptstrasse 71
    > A - 1160 Wien A - 4040 Linz
    >
    > fon: + 43 - 699 - 18181929
    > fax: + 43 - 732 - 711 311 22
    > mailto: manuel.wallnoefer@msk-informatik.at
    > web: http://www.msk-informatik.at
    > http://www.opencms.at
    >
    >