Re: [xsl] RE: XSL and White Space help PLEASE

Subject: Re: [xsl] RE: XSL and White Space help PLEASE
From: "Thomas B. Passin" <tpassin@xxxxxxxxxxxx>
Date: Mon, 4 Jun 2001 10:16:50 -0400
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 &#160;
always displays (see next item).

7) &#160; 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:

Current Thread