This is the mail archive of the mailing list .

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re[2]: 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="";
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

To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]