OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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

Subject: Re: [docbook] Overview about xml document in html

[moving this thread over to docbook-apps where stylesheet issues are 

Hi Frenzel,
The DocBook stylesheets have a lot of parameters that let you control many 
aspects of formatting, and you don't need to know much about XSLT to set 
parameter values on the command line.  However, there isn't a parameter to 
do what you want.  That would require some customization of some DocBook XSL 
templates, which requires knowledge of XSLT.  There is a lot of information 
about how to customize DocBook XSL in my book (available online here):


It won't teach you XSLT, though.  If you don't want to climb that learning 
curve, you would find someone that knows XSLT to do the work.

Bob Stayton
Sagehill Enterprises

----- Original Message ----- 
From: "Frenzel Ina" <Ina.Frenzel@facton.com>
To: <docbook@lists.oasis-open.org>
Sent: Wednesday, June 18, 2008 6:22 AM
Subject: [docbook] Overview about xml document in html

Hello everyone,

I would like to have an overview about my xml document in HTML that
includes the following in a table:

- chapter title
- chapter ID
- section title
- section ID
- link
- olink
- xref
- image fileref
- figure title
- topic name and topic id for context-sensitive HTML Help

How can I do that? I'm a docbook newbie and I have no notion of XSL.
One of my colleagues has started with:

<xsl:template match="docbook:section">
<span style="font-weight:bold; ">
<xsl:text>Section: </xsl:text>
<xsl:for-each select="@xml:id">
<span style="font-style:italic; ">
<xsl:value-of select="string(.)"
<xsl:for-each select="docbook:title">
<xsl:apply-templates />
<xsl:text>Anchors: </xsl:text>
<xsl:for-each select="docbook:anchor">
<xsl:for-each select="@xml:id">
style="font-style:italic; ">
select="string(.)" />
" />
ok:imagedata" />
select="child::*[local-name()!='section']//docbook:link|docbook:link" />
select="child::*[local-name()!='section']//docbook:xref|docbook:xref" />
select="docbook:section" />

Unfortunately he couldn't continue the document and now he's gone. Could
anybody of you help me, please?

Mit freundlichen Grüßen
i.A.  Ina Frenzel
Assistentin Niederlassung Dresden

Prager Str. 2
01069 Dresden

Tel.: +49-351-40223-0
Fax: +49-351-40223-15
Mail: Ina.Frenzel@facton.com
Web: http://www.facton.com

FACTON© in der Presse
Die neusten Artikel zum downloaden hier:

Vertretungsberechtigte Geschäftsführer: Thoralf Nehls, Martin Nehls
Sitz der Gesellschaft: Prager Straße 2, 01069 Dresden
Handelsregister: Amtsgericht Dresden HRB 17304
"This email message is intended only for the person(s) to whom it is 
and as such is confidential. If you have received this communication in 
please notify us immediately and delete the original message.
Thank you for your cooperation."

To unsubscribe, e-mail: docbook-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-help@lists.oasis-open.org

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