[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: <MsSinceMidnight1Jan1970>1009843200000</MsSinceMid
Dan, I read somewhere that netscape was better than ie because it transforms direct from xml/xsl to the final rendered result whereas ie transforms to html and then parses the html. So it works in ie. If you do this <?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:output method="html"/> <xsl:template match="/"> <html> <body> <script type="text/javascript"> alert(this.document.toString()); </script> </body> </html> </xsl:template> </xsl:stylesheet> The alert is [Object XMLDocument] which is not an html document although the differences in netscape are rather blurred. So there is no document.write function on the xmldocument object. This means that script is not evaluated and events are not recognised (something I have found before although this is a very simple example). Hmmm some improvement!!!! I guess netscape is still pretty much useless for xml/xsl except for the most primative transforms. Oh well! Ciao Chris XML/XSL Portal http://www.bayes.co.uk/xml > -----Original Message----- > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of > Dan Diebolt > Sent: 17 April 2002 20:00 > To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx' > Subject: Re: > <MsSinceMidnight1Jan1970>1009843200000</MsSinceMidnight1Jan1970> > > > >If you use Mozilla, you have a Javascript Console. It tells me > >"document.write is not a function". Don't ask me why. It > must have to do > >with the transformation: If you transform the file > externally and open > >the HTML file, the result is correct: "2/15/102" (To the > year must be > >added 1900 in Netscape). > > I love the cascade of smaller problems! > > How do you even detect the processor/browser? system-property()? Does > anyone know the usage of this function for NN and IE? > > __________________________________________________ > Do You Yahoo!? > Yahoo! Tax Center - online filing with TurboTax > http://taxes.yahoo.com/ > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > 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
|