Re: html navigation <link> elements

From
Sam Steingold <>
Date
2006-05-08T14:22:00+00:00
ID
Thread
Re: html navigation <link> elements
> * Mauritz Jeanson <> [2006-05-07 19:07:56 +0200]:
>
>> -----Original Message-----
>> From: Sam Steingold
>> 
>> I want my output to contain the the following in the <html><head>
>> section:
>> 
>> <link rel="home" title="Home" href="http://clisp.cons.org" />
>> <link rel="contents" title="Table of Contents"
>>       href="http://clisp.cons.org/impnotes/" />
>> <link rel="help" title="Technical Support"
>>       href="http://clisp.cons.org/impnotes/faq.html#faq-help" />
>
>
> Customize the 'user.head.content' template:
> http://www.sagehill.net/docbookxsl/HtmlHead.html

thanks, it appears to work:

<xsl:template name="user.head.content">
 <link rel="help" title="How do I ask for help?"
       href="http://clisp.cons.org/impnotes/faq.html#faq-help"/>
 <link rel="home" title="Home" href="http://clisp.cons.org"/>
 <link rel="contents" title="Table of Contents" href="index.html"/>
 <link rel="contents" title="Index" href="idx.html"/>
</xsl:template>

now, how do I refer to the generated URLs here?

suppose "http://clisp.cons.org/impnotes/faq.html#faq-help"
has id "faq-help" in the docbook/xml document being processed, how do I
refer to it in the <link> above?

Thanks!

-- 
Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux)
http://mideasttruth.com http://jihadwatch.org http://thereligionofpeace.com
http://pmw.org.il http://ffii.org http://truepeace.org http://iris.org.il
Press any key to continue or any other key to quit.