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] |
Currently, the stylesheets add entries for <?dbhh ...?> processing instruction
alone.
Has anyone done this? How should I go about modifying the stylesheet?
Here's an example of what I want:
<section id="myohmy"> .... </section>
alias.h:
myohmy=myohmy.html
or
myohmy=myohmy.html#myohmy
In the latter case, I'd also have to generate <a id="myohmy"/> for every @id'd block element.
<xsl:template match="section" mode="hh-map"> <xsl:variable name="topicname" select="@id"/> <xsl:variable name="topicid"> <xsl:call-template name="href.target"/> </xsl:variable> <xsl:text>#define </xsl:text> <xsl:value-of select="$topicname"/> <xsl:text>	</xsl:text> <xsl:value-of select="$topicid"/> <xsl:text>
</xsl:text> </xsl:template>
-- ----------------------------------------------------------------- Jirka Kosek e-mail: jirka@kosek.cz http://www.kosek.cz
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |