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: [docbook-apps] Permalinks resources

Hi Scott,

On Tue, 20 May 2014 10:16:58 +0300
Scott Rifenbark <srifenbark@gmail.com> 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:


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

    Thomas Schraitle

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