Thanks, but that doesn't solve the problem. I checked, there is no space in
the element, so it must stem from the xsl transformation.

Bye, Helma

> -----Original Message-----
> From: Jorg Heymans [mailto:[EMAIL PROTECTED] 
> Sent: Saturday, 20 December 2003 13:01
> To: [EMAIL PROTECTED]
> Subject: Re: Removing extra spaces in xsl output
> 
> 
> http://xml.apache.org/xalan-j/xsltc/xsl_whitespace_design.html
> 
> <xsl:strip-space elements="*"/>
> 
> [EMAIL PROTECTED] wrote:
> 
> > Hi,
> > 
> > How do I remove extra spaces around xsl:tags in the output HTML?
> > 
> > Example:
> > 
> > <number>
> >     <nr1>123</nr1>
> >     <nr2>345</nr2>
> >     <nr3>678</nr3>
> > </number>
> > 
> >  is transformed with:
> > 
> > <xsl:template match="number">
> >     number = <xsl:value-of select="nr1"/>-<xsl:value-of
> > select="nr2"/>-<xsl:value-of select="nr3"/>
> > </xsl:template>
> > 
> > The output should be: 123-345-678
> > But instead its: 123 - 345 - 678
> > 
> > How do I remove the spaces around the - ? I've tried 
> putting <xsl:text>
> > around them, but that doesn't solve the problem. 
> Concatenate() is not an
> > option since I do some testing in the testing.
> > 
> > I know this is standard, but I can't remember the term I need. 
> > 
> > Thanks.
> > 
> > Bye, Helma
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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

Reply via email to