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] | [List Home]


Subject: Re: html navigation <link> elements


> * Mauritz Jeanson <zw@wbunaaroret.pbz> [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.



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