On 7/8/07, Keith Fahlgren <[EMAIL PROTECTED]> wrote:
On 7/1/07, Dave Pawson <[EMAIL PROTECTED]> wrote:
> Thomas Schraitle wrote:
> > Hi Dave,
> >
> > On Sonntag, 1. Juli 2007, Dave Pawson wrote:
> >> In en.xml etc, there are uses of %t, %n etc.
> >
> > %t = title
> > %s = subtitle (if available)
> > %n = number
> > %p = page number (if applicable)

Here's a potential list of the "etc", if someone else needs it (the
template names may be helpful documentation). This is from
1.71.1/common/gentext.xsl:

<xsl:when test="$candidate = 't'">
 <xsl:apply-templates select="." mode="insert.title.markup">
--
<xsl:when test="$candidate = 's'">
 <xsl:apply-templates select="." mode="insert.subtitle.markup">
--
<xsl:when test="$candidate = 'n'">
 <xsl:apply-templates select="." mode="insert.label.markup">
--
<xsl:when test="$candidate = 'p'">
 <xsl:apply-templates select="." mode="insert.pagenumber.markup">
--
<xsl:when test="$candidate = 'o'">
 <!-- olink target document title -->
 <xsl:apply-templates select="." mode="insert.olink.docname.markup">
--
[%d doesn't seem to be in use as of 1.71]
<xsl:when test="$candidate = 'd'">
 <xsl:apply-templates select="." mode="insert.direction.markup">
--
[a literal %, finally]
<xsl:when test="$candidate = '%' ">
 <xsl:text>%</xsl:text>
</xsl:when>


HTH,
Keith

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to