[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: WG: customization of single step procedures
Sorry – I have
copied the code from an old file. That’s the one, which works fine: … <xsl:choose> <xsl:when
test="count(step) = 1"> <table
border="0">
<tr>
<td><font face="Arial, Helvetica, sans-serif"><b> <xsl:text>►</xsl:text><xsl:value-of
select="procedure|title"/><xsl:text>, </xsl:text></b></font> <font
size="2" face="Arial, Helvetica, sans-serif"> <xsl:value-of
select="child::step"/> </font></td>
</tr> </table> </xsl:when> <xsl:otherwise> … Von: isabel.hofherr
[mailto:isabel.hofherr@lci-software.com] Hi, I have the problem that we have to
customize the look of single step procedures in *.chm output (single and
multi step procedures always have the same look with an arrow in front of the
title.) The title of the single step procedure
should be in line with the text of the “single” step. That’s what I did so far to customize
it: <xsl:template
match="procedure"> … … … <xsl:choose>
<xsl:when test="count(step) = 1">
<table border="0">
<tr>
<td><font face="Arial, Helvetica, sans-serif"><b>
<xsl:text>►</xsl:text><xsl:value-of
select="procedure|title"/><xsl:text>,
</xsl:text></b></font>
<font size="2" face="Arial, Helvetica, sans-serif">
<xsl:apply-templates
select="step
|comment()[preceding-sibling::step]
|processing-instruction()[preceding-sibling::step]"/>
</font></td>
</tr>
</table>
</xsl:when>
<xsl:otherwise> …. …. And it worked! But now we have the next request: sometimes
inline graphics are required within the step description. And I have no idea
how to manage the correct display. What approach I have to choose? I would appreciate any help. Thanks Isabel |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]