OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Subject: Re[2]: DOCBOOK-APPS: Producing custom HTML code

Hello Jirka,

Tuesday, May 15, 2001, 9:14:54 PM, you wrote:
JK> If you want to just add something to head of HTML file use following
JK> customization layer:

JK> <?xml version="1.0"?>
JK> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
JK>                 version="1.0">

JK> <xsl:import href=".../docbook.xsl"/>

JK> <xsl:template name="user.head.content">
JK>   <xsl:processing-instruction name="php">
JK>         $page=5;$page_name="Authors";
JK>         $title="mnoGoSearch authors";
JK>         include("include/top.php");
JK>   </xsl:processing-instruction>
JK> </xsl:template>

JK> </xsl:stylesheet>

JK> If you want completely replace default content in HTML head generated by
JK> XSL stylesheets, redefine template head.content.

Thanks for your help, I managed to add the include code into html
header, but I need to completely replace all the html tags in the
beginning of a html file - from <html> to <body> with the include
code. How do I redefine the head.content template. Could you please
direct me to some example?

I.e. I want html file to start in the following manner:

        $title="mnoGoSearch: Windows search engine software";
<H3><u>mnoGoSearch for Windows</u></H3>

and end exaclty like that:


I am new to xsl stylesheets and any help will be greatly appreciated!

Best regards,
Dmitry Tkatchenko
mnoGoSearch developers team

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Powered by eList eXpress LLC