![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: [HELP] How to preserve whitespace from souce XML to HTML? [Thread Next] Re: [HELP] How to preserve whitespace from souce XML to HTML?To: NULL Date: 7/6/2004 4:44:00 PM Yes! It got to work after I add the <pre> tag. Thanks a lot for your accurate hint! "Oleg Tkachenko [MVP]" <oleg@NO!SPAM!PLEASEtkachenko.com> ???? news:uT%23vRizYEHA.2840@T...... > Erming Pei wrote: > > > I'd like to output the following line from XML document to HTML: > > > > <detail_data>Missing DNs: > > ============================================== > > "dn: GlueCEUniqueID=" > > "dn: GlueSEUniqueID=" > > "dn: GlueCESEBindSEUniqueID=" > > "dn: GlueSARoot="</detail_data> > > > > But it turn out to be this: > > Missing DNs: ============================================== "dn: > > GlueCEUniqueID=" "dn: GlueSEUniqueID=" "dn: GlueCESEBindSEUniqueID=" "dn: > > GlueSARoot=" > > > > the white spaces are all getting away! > > If you're familiar with HTML you should be aware that in HTML newline is > treated as whitespace and adjacent whitespace characters are displayed > as a single space. > To display preformatted text you can use <pre> tag. > -- > Oleg Tkachenko [XML MVP] > http://blog.tkachenko.com | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
