[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: problem with xmlns and ie5
Hi, Nothing is wrong with your XSL, you are correct to use: xmlns:xsl="http://www.w3.org/1999/XSL/Transform" But you need to install the MSXML 3.0 parser in replace mode in order to properly use this correct namespace with IE5. Download the parser: http://msdn.microsoft.com/downloads/default.asp?URL=/code/sample.asp?url=/ms dn-files/027/001/591/msdncompositedoc.xml To have IE use this parser you also have to run the file "xmlinst.exe": http://msdn.microsoft.com/downloads/default.asp?URL=/code/sample.asp?url=/ms dn-files/027/001/469/msdncompositedoc.xml NOTE: both of the above urls start with "http" and end in "msdncompositedoc.xml" - you may need to copy and paste two pieces together assuming they break due to the word wrap of this e-mail. Hope this helps, Max www.siliconpublishing.org -----Original Message----- From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Student1 ASCO-ELK (RBJE/ELK) Sent: Monday, May 14, 2001 10:22 PM To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx' Subject: problem with xmlns and ie5 can someone help me, i try to use the xmlns:xsl="http://www.w3.org/1999/XSL/Transform" namespace for my xls document but i only get the the xlsdocument in my output window ( i dont have any typos in the file ! ;) ) if i use the xmlns:xsl="http://www.w3.org/TR/WD-xsl" namespace everything works fine. but when i then try to use <xsl:variable .... /> i get a runtime error saying:"Keyword xsl:variable may not be used here" i alread read the the article of tim bray about xml and ie5 - but this didnt get me any further :( .... here are the two headers of the xsl files that way everything except the <xsl-variable... /> works fine <?xml version='1.0'?> <?xml:stylesheet type='text/xsl'?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl"> <xsl:template match='/'> <xsl:apply-templates select='//test' /> </xsl:template> <xsl:template match='test'> TEST </xsl:template> </xsl:stylesheet> but if i try it this way .... i get nothing but my xslfile back <?xml version='1.0'?> <?xml:stylesheet type='text/xsl'?> <xsl:stylesheet xsl:version='1.0' xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> ... </xsl:stylesheet> thx in advance regards goose 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
|