[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: RE: XSL and White Space help PLEASE
Can we please get a fresh start on this one? Sridhara has not done certain steps he has to do before seeking more help, he has not told us certain key information, and there are a lot of considerations that could affect the visual results. I'll summarize some of them, then let's lay it to rest, OK? 1) NEVER call for help about the xslt until you have developed some html that works exactly right for you. Then you can ask for help with the xslt to duplicate the html that works. 2) Different xslt processors may give different results on some of the more esoteric features. Always try SAXON as one of your tests, if you possibly can. It handles more things corrrectly or intelligently than just about other processor. 3) ALWAYS say what processor and browser you are using. 4) For producing html output, make sure to tell the xslt processor, using <xsl:output method='html'/>. This will cause the output of html-legal but not-well-formed output, such as <br> (you still have to use <br/> in your code, though). 5) Whitespace may be displayed differently by different browers in different situations. Examine the raw html output to see if the spaces are ***really*** there or not. 6) More than one whitespace characters are usually displayed as just one by most browers unless the text is wrapped in <pre>, <quote>, or <code> tags (there might be some others that I forgot). The nonbreaking space   always displays (see next item). 7)   isn't legal in all encodings. Make sure you are using an encoding for which it is acceptable. Too bad, some browsers (especially older ones) don't interpret these encodings the same way. 8) If you are "using" msxml3, make sure that your browser is really using it by running xmlinst.exe. That will adjust the registry so that the browser will actually use it. Then tell us that you have done so. (It's getting harder to find on the MS site, but you can still track it down). XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|