Docbook-xslt chapter id matching
Posted
by Jerry Jacobs
on Stack Overflow
See other posts from Stack Overflow
or by Jerry Jacobs
Published on 2010-04-15T13:16:08Z
Indexed on
2010/04/15
13:23 UTC
Read the original article
Hit count: 592
Dear all,
I would like to write a xslt rule if it matches a certain chapter ID that it sets autolabel to zero on the section.
in pseudo code:
IF CHAPTER == LOGBOOK
SECTION.AUTOLABEL = 0
ELSE
SECTION.AUTOLABEL = 1
ENDIF
But after reading the docbook xsl website and docbook xsl reference i'm still unable to figure out how to do it. Maybe someone can push me in the right direction, because i'm new in docbook and xls(t)
Kind regards, Jerry
© Stack Overflow or respective owner