Due to the nature of the problem you are experiencing I have to imagine one of two things:
Either your generated output has no <html></html> tag in it note:(not that it has to) and/or you have no <xsl:output/> element within the xsl stylesheet you are using. By default - Netscape is seeing the generated output as an XML document and thus only sees the style attribute as just an attribute it does not see it as anything special and thus does not handle it as you may be expecting. If in the stylesheet you include a beginning and ending <html> element - Netscape will render it as you are expecting Though this may not be what you desire The other option - without introducing the <html> element is to include as a top level element within your stylesheet the following element: <xsl:output method="html" /> The generated output that is sent to the browser as the result of the transformation is then interpreted as a HTML document and not an XML document - and Netscape then "sees" the style attribute and its associated CSS styling and applys it properly in the displayed output Hope this helps Dave Flanagan (Not the author) At 05:32 PM 7/23/2002 -0400, you wrote: >> Are you sure your verision of Netscape is actually set up to run XSLT > > Yes, very much so. I've been using it quite a bit lately as my test > browser for xml/xslt. Everything else is working just fine (images are being > called in, all other features have worked up to this point). Hm. Sounds like a Netscape bug, to be blunt about it... either in their stylesheet processor or in their handling of the generated document. Since you say the Xalan processor isn't involved, there isn't a lot we can do about that. You've already said that Xalan _does_ generate the results you expect. That could, of course, be a bug in Xalan causing us to do something wrong that happens to match your expectations better than the correct result, but... At this point I'd suggest reporting the problem to Netscape or Transformiix, and seeing what they have to say for themselves ______________________________________ Joe Kesselman / IBM Research _________________________________________________________________________ This mail sent via toadmail.com, web e-mail @ ToadNet - want to go fast? http://www.toadmail.com
