[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Updated XSL support in IE5?

Subject: Updated XSL support in IE5?
From: Norman Walsh <ndw@xxxxxxxxxx>
Date: Tue, 22 Feb 2000 06:54:52 -0500
docbook xsl msxml2
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.