Next in thread → Next in month →

Re: [docbook-apps] Permalinks resources

From
Scott Rifenbark <>
Date
2014-05-20T07:51:25+00:00
ID
CAFNP8Ou6+p6-WTb99-EgOL=gbZXSPETOGNq+bmYnD0PictEH=
Thread
Re: [docbook-apps] Permalinks resources
On Tue, May 20, 2014 at 10:29 AM, Thomas Schraitle <> wrote:

Hi Scott,

On Tue, 20 May 2014 10:16:58 +0300

Scott Rifenbark <> wrote:

> [...]

> I put that "use.id.as.filename" in my customization layer as follows:

>

> <?xml version='1.0'?>

> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"

> xmlns=" http://www.w3.org/1999/xhtml"

> xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.0">

>

>   <xsl:import href="">
> http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl" />

> [...]

>

> I tried making the document using 'select="1"' as well as

> 'select="0"'.  I it had no effect on my generated HTML.

Sorry, my bad, I had to be clearer with my text.

You used the "docbook.xsl" stylesheet. This generates always *one*

file, regardless of the "use.id.as.filename" parameter.

Use "chunk.xsl" instead of "docbook.xsl" and you will see the effect.

If you need more information how to influence such "chunks", I kindly

recommend Bob's book to you:

 http://www.sagehill.net/docbookxsl/Chunking.html

I found Bob's book... thanks.  I will do some researching.

Thanks again, 
Scott
 

> Granted, I

> don't know if I am using this parameter correctly or not.  I am by

> means an XSL person.

No problem. :) We are here to help each other.

> I don't know if this will help you when you are looking at your

> stylesheet but here are two (hand-formatted) snippets of the HTML

> showing when I try to implement the permalinks and when I do not.  In

> the top one, which attempts to implement them, my <a> tag is

> basically blank with no value for the "id", which I consistently use

> in my .XML source files for all <section> tags. The actual text title

> is also being dropped.

Thanks for the feedback, I will look into this issue.

--

Gruß/Regards,

    Thomas Schraitle
Next in thread → Next in month →