/ Rune Enggaard Jensen <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> | '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