[Home] [By Thread] [By Date] [Recent Entries]


Collin wrote:
> HI, all:
>     I use XSLT to transform my XML document into a HTML document. I 've done every effort to have multiple spaces be printed in my browser, but I failed again and again.
>     If I used   in XSLT, it would say that   is an undefined entity. 

It is.

>     If I used  , it would print a space. 
>     And if I used     , then it would print only one space.

Have you wrapped those in a <xsl:text> element?

Also, you may want to check out xml:space="preserve".

Cheers,

Manos


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member