3 Jan 19:22
[Serna] Patch to dita-elems.xsl
From: Eliot Kimber <ekimber@...>
Subject: [Serna] Patch to dita-elems.xsl
Newsgroups: gmane.editors.serna.user
Date: 2008-01-03 18:23:05 GMT
Subject: [Serna] Patch to dita-elems.xsl
Newsgroups: gmane.editors.serna.user
Date: 2008-01-03 18:23:05 GMT
I can't remember if I ever posted this, but I added this template to
dita-elems.xsl to handle sections with spectitle= values (which I use
heavily in specializations of reference):
<!-- WEK: Added rule to generate title for sections with explicit
spectitle values -->
<xsl:template match="*[contains(@class,' topic/section ') and
@spectitle != '']" dtm:id="topic.section">
<fo:block margin-top="15pt" line-height="12pt" id="{generate-id()}">
<fo:block font-weight="bold" margin-botton="12pt"
font-size="14pt" line-height="16pt" color="blue">
<fo:inline><xsl:value-of select="@spectitle"/></fo:inline>
</fo:block>
<!-- preferentially pull the head here; process in place for now -->
<xsl:apply-templates/>
</fo:block>
</xsl:template>
Cheers,
E.
--
--
Eliot Kimber
Senior Solutions Architect
"Bringing Strategy, Content, and Technology Together"
Main: 610.631.6770
www.reallysi.com
www.rsuitecms.com
(Continue reading)
RSS Feed