This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]