[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook] Spaces
On Thu, Jul 01, 2004 at 11:08:16PM -0300, Pupeno wrote:
> I'm customizing the footer and header of my document, so, I want my name to be
> in some footers, so, I put this:
> <xsl:value-of select="ancestor-or-self::book/bookinfo/author/firstname"/>
> <xsl:value-of select="ancestor-or-self::book/bookinfo/author/othername"/>
> <xsl:value-of select="ancestor-or-self::book/bookinfo/author/surname"/>
> The problem is that there's no white (blank) space between the data of each
> tag. How do I put a white space between them ?
Just explicitly specify the space in the output with:
<xsl:text> </xsl:text>
In your example, this would look like:
<xsl:value-of select="ancestor-or-self::book/bookinfo/author/firstname"/>
<xsl:text> </xsl:text>
<xsl:value-of select="ancestor-or-self::book/bookinfo/author/othername"/>
<xsl:text> </xsl:text>
<xsl:value-of select="ancestor-or-self::book/bookinfo/author/surname"/>
Take care,
John L. Clark
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]