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: AW: [docbook-apps] Newbie docbook-xsl question: how to customiseuser.header.navigation?

you build a customization layer (see Bob Staytons excellent book

<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";

	<xsl:import href="docbook/xhtml/docbook.xsl"/>
	<xsl:param name="l10n.gentext.language" select="en"/>
	<xsl:template name="user.header.content">
	  	<div class="tableArea">
		  	<a class="tab"
		  	<a id="currentTab" class="tab"
		  	<a class="tab" href="index.html">other projects</a>

All stuff you place into this script overrides the appropriate genuine
templates (etc). As mentioned above Bob Stayton explains it very clear and

Best Regard

Joerg Moebius

-----Ursprüngliche Nachricht-----
Von: Roland Turner (OASIS) [mailto:raz.bnfvf-bcra.bet@raz.cx] 
Gesendet: Montag, 20. März 2006 18:01
An: docbook-apps@lists.oasis-open.org
Betreff: [docbook-apps] Newbie docbook-xsl question: how to


I'm using xsltproc (packaged on Debian Sarge, if this is relevant) to
convert a DocBook source to HTML. I wish to add some user navigation links
to the tops of generated pages. The docs talk about user.header.navigation,
but I'm not clear on how to actually set this.

- Using --stringparam appears to have no effect.

- Using --param variously generates xpath errors, or has no effect.

- Copying chunk.xsl and docbook.xml from /usr/share, tweaking them directly,
and then messing about with a lengthy --path option generated several
message like "duplicate name 'dbhtml-attribute'", which I really don't get.

Am I on the right path here? Is there a simpler way?

- Raz

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

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