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]

[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


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