[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK-APPS: DSSSL: Customizing the filename element
/ Rune Enggaard Jensen <r.e.jensen@bigfoot.com> was heard to say:
| Hi all!
|
| I would like to customize the filename element such that
| if the path attribute is not empty, it is printed before
| the filename. Example:
|
| <filename class="headerfile" path="bas/">ddlhdl.h</filename>
|
| should render as
|
| bas/ddlhdl.h
|
| How can I do this?
|
| I should mention that I already have some customizations, so
| I only need help on this specific element (for now ;-).
This ought to do it.
(element filename
(make sequence
(literal (attribute-string "path"))
(literal "/")
(process-children)))
Be seeing you,
norm
--
Norman Walsh <ndw@nwalsh.com> | 'I have done that,' says my
http://www.oasis-open.org/docbook/ | memory. 'I cannot have done
Chair, DocBook Technical Committee | that'--says my pride, and remains
| adamant. At last--memory
| yields.--Nietzsche
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC