This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Space Between 2 consecutive Nodes
- From: "James Fuller" <james dot fuller at o-idev dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Wed, 31 Jul 2002 09:09:43 +0100
- Subject: Re: [xsl] Space Between 2 consecutive Nodes
- Organization: o-iDeveloper ltd.
- References: <5.1.0.14.0.20020731110335.02799528@loc-mail.tbdelhi.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
----- Original Message -----
From: "Kumar V." <vkumar@techbooks.com>
> Hi All,
>
> Below line present my XML file.
>
> <Para>This is Example <Italic>Italic Text</Italic> <Bold>Bold
Text</Bold> Text</Para>
>
> I am using MSXML3. When i start the transforming the above into
HTML, i am getting the below output.
>
> This is Example Italic TextBold Text Text.
>
> In the above output, space between 2 consecutive nodes (i.e.
<italic> & <bold>) is dropped.
>
to preserve space try using the xsl:preserve-space tag...but read up on
whitespace issues in general from www.dpawson.co.uk XSLT FAQ.
now without seeing your XSLT ....I can't tell if you are having other
issues... for example using xsl:value-of instead of xsl:copy-of .....
hth, jim fuller
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list