Re: [xsl] Removing unwanted space

Subject: Re: [xsl] Removing unwanted space
From: "Peter Flynn peter@xxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 4 Jun 2021 22:49:51 -0000
On 04/06/2021 23:45, Charles O'Connor coconnor@xxxxxxxxxxxx wrote:
> Ask an ye shall receive. Here's an example from a table (words have been changed to protect the innocent), though I think Peter's template would work fine here. However, there are gene names and yeast mating types that use markup on just parts of terms, and I'm not sure how it would work on them:
> 
>                   <td colspan="5" valign="middle">
>                      <p>
>                         <bold>Curds:</bold> sha la la la la lee</p>
>                      <p>
>                         <bold>Whey: </bold>here comes the nice</p>

Including the following space in a subelement is almost always an error,
and often passes unseen by the user. It wouldn't be too hard to detect
it in the instance where the element was NOT followed by a space, but
you'd need to be sure of your sample. Easy enough to test, though.

Peter

Current Thread