Re: [xsl] double spaces how do i keep them

Subject: Re: [xsl] double spaces how do i keep them
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Tue, 06 Mar 2012 08:47:39 +0000
On 06/03/2012 07:49, Szabo, Patrick (LNG-VIE) wrote:
Hi,

This might be the dumbest questions ever to be posted on this list but I
have the following code:

<docinfo:custom-metafield name="citation-metadata">TY  -
CASE</docinfo:custom-metafield>

What I get is this:

<docinfo:custom-metafield name="citation-metadata">TY -
CASE</docinfo:custom-metafield>

Once space is missing.

Can anyone tell me why ?
This is where we miss Jeni Tennison, who made her reputation on this list by diagnosing bugs in code that wasn't posted.

Sadly, most of us mortals need to see the code before we can find the bugs in it.

Michael Kay
Saxonica

There is no stylesheet applied after this one. There a couple of stylesheets importet but that shouldn't make a difference since that is a literal result element right ?

I've tried pretty much any method to output this.

regards




. . . . . . . . . . . . . . . . . . . . . . . . . . Ing. Patrick Szabo XSLT Developer LexisNexis A-1030 Wien, Marxergasse 25

mailto:patrick.szabo@xxxxxxxxxxxxx
Tel.: +43 1 53452 1573
Fax: +43 1 534 52 146

Current Thread