This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Aliases?
- From: Olivier Chapuis <olivier dot chapuis at free dot fr>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Tue, 21 Jan 2003 23:08:09 +0100
- Subject: DOCBOOK-APPS: Aliases?
Hello,
I think that some inline tags are too long. I would like to
use aliases. For example I would like to be able to use
<f> in the place of <filename>.
At the style-sheet level I can add
<xsl:template match="f">
<xsl:call-template name="inline.monoseq"/>
</xsl:template>
but of course this solution is bad. Is there a more generic
solution? Something that look like "#define f filename".
I need also to extand the DocBook DTD. Again it is easy to found
a bad solution: cut-and-paste the definition of the filename
element. Again, Is there a more generic solution?
Thanks, Olivier