This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] XSL & DocBook Question
- From: Tristan Fiedler <fiedler at cshl dot edu>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Tue, 23 Nov 2004 12:33:21 -0500
- Subject: [docbook-apps] XSL & DocBook Question
When I customize the docbook.xsl file to include :
<xsl:template match="gene|sentence|organism|cjunction|kitty">
<xsl:apply-templates/>
</xsl:template>
Why does the following properly render the 0.5 cm image, but the second
example below does not? It seems that the 'apply templates in the
docbook.xsl file should make both identical?
******************************************* This works
****************************************
<xref linkend="figure1"/>
<kitty>
<link linkend="figure1">
<inlinemediaobject>
<imageobject>
<imagedata entityref="fig1" depth="0.5cm"/>
</imageobject>
</inlinemediaobject>
</link>
</kitty>
******************************************* This Does Not Work
****************************************
<xref linkend="figure1"/>
<link linkend="figure1">
<inlinemediaobject>
<kitty>
<imageobject>
<imagedata entityref="fig1" depth="0.5cm"/>
</imageobject>
</kitty>
</inlinemediaobject>
</link>
Cheers,
Tristan
------------------------------
Tristan J. Fiedler
Postdoctoral Fellow - Stein Lab
Cold Spring Harbor Laboratory