Re: [docbook-apps] Re: html navigation <link> elements

From
Bob Stayton <>
Date
2006-05-08T16:15:12+00:00
ID
002e01c672ba$8cc6cc40$6400a8c0@totoro
Thread
Re: [docbook-apps] Re: html navigation <link> elements
Hi Sam,
Can you clarify your question a bit?

> 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?

How do you put an id on a quoted string?  Is that string in a ulink with an 
id attribute?  An example would help.


Bob Stayton
Sagehill Enterprises
DocBook Consulting



----- Original Message ----- 
From: "Sam Steingold" <>
To: <>
Sent: Monday, May 08, 2006 7:21 AM
Subject: [docbook-apps] 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.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> For additional commands, e-mail: 
>
>
>