Subject: RE: Updated XSL support in IE5? From: "Mattias Beermann" <webmaster@xxxxxxxx> Date: Tue, 22 Feb 2000 13:31:46 +0100 |
>From the MSXML2 SDK: Running MSXML2.dll in Replace Mode Upon installing the MSXML2.dll in the system directory, the xmlinst.exe tool was also placed in the system directory. This tool can be used to run MSXML2.dll in replace mode. In replace mode, the tool changes the registry to look as though it was created by msxml.dll, overwriting the InprocServer32, TypeLib and Default Icon values. This will allow applications that are coded to the previous classids and progids to take advantage of the new functionality without changing code. To use the msxml2.dll in replace mode simply click on the xmlinst.exe file in your system directory (where the msxml2.dll exists) or execute the application from the command line: "xmlinst" replace mode with Msxml2.dll as the new dll path "xmlinst " take a path as a parameter such that this dll will take over for all the registry entries created by msxml.dll. i.e. replace mode "xmlinst -u msmxl" : delete all entries from the registry that were created by Msxml.dll "xmlinst -u msxml2" delete all entries from the registry that were created by Msxml2.dll "xmlinst -u" delete all entries from the registry that were created by any msxml "xmlinst -?" print usage message I think that you have to run in "replace mode" if you want IE5 to use the msxml2.dll Mattias > -----Original Message----- > From: owner-xsl-list@xxxxxxxxxxxxxxxx > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]On Behalf Of Norman Walsh > Sent: Tuesday, February 22, 2000 12:55 PM > To: xsl-list@xxxxxxxxxxxxxxxx > Subject: Updated XSL support in IE5? > > > Ok, <aside>given that the updated XSL module for IE5 supports > neither named templates nor modes, I'm not sure why I'm even > bothering, but anyway...</aside> I sat down to update my IE5 XSL > stylesheet for a simple subset of DocBook and discovered that I > cannot make it work. At all. The MSXML2 scripting demos that > come from MS work, so I've definitely installed the new stuff. > > Can anyone see what I'm doing wrong here? Here's the stylesheet: > > <?xml version='1.0'?> > <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > version="1.0"> > <xsl:output method="html" indent="yes"/> > > <xsl:template match="article"> > <html> > <head> > <title>foo</title> > </head> > <body> > <xsl:apply-templates/> > </body> > </html> > </xsl:template> > > <xsl:template match="article/title"> > <h1><xsl:apply-templates/></h1> > </xsl:template> > > <xsl:template match="para"> > <p><xsl:apply-templates/></p> > </xsl:template> > > </xsl:stylesheet> > > And here's the test document: > > <?xml version='1.0'?> > <?xml-stylesheet href="sdocbook.xsl" type="text/xsl"?> > <article><title>Article Title</title> > <para>Paragraph.</para> > </article> > > The result in IE5 is a completely blank screen. Fiddling with > the scripting stuff from their demos, I can demonstrate that > MSXML2 'does the right thing', but why won't it actually display > the result in the simple case? > > Be seeing you, > norm > > -- > Norman Walsh <ndw@xxxxxxxxxx> | "Abstraction, abstraction and > http://nwalsh.com/ | abstraction." This is the answer > | to the question, "What are the > | three most important words in > | programming?"--Paul Hudak > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Updated XSL support in IE5?, Norman Walsh | Thread | RE: Updated XSL support in IE5?, Julian Reschke |
Re: Transformation to HTML, David Carlisle | Date | RE: Updated XSL support in IE5?, Sebastien Sahuc |
Month |