This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

MSIE + XSLT


Hi everyone,

I have an XML source covering a bit of literary history and a stylesheet
that works fine with XT and Saxon. Unfortunately, the new msxml in IE5
stops working on the document within the main template. This looks like:

 <xsl:template match="/">
    <html>
      <head>
        <title>LitHist</title>
      </head>
      <body>
        <h1>LitHist</h1>
       <table border="2" align="center">
         <tr><th>Vorname</th><th>Nachname</th>
             <th>Geburtsjahr</th><th>Todesjahr</th></tr>
         <xsl:apply-templates select="lithist"/>
       </table>
      <hr width="80%"/>
      </body>
    </html>
  </xsl:template>

  <xsl:template match="lithist">
    <xsl:apply-templates select="author"/>
  </xsl:template>

Of course, there are templates for authors et cetera. The screen shows
the first table row but not any of the authors' data. "lithist" is the
top-lecel element.

The XML source starts this way:

<?xml version='1.0'?>
<?xml-stylesheet type="text/xsl" href="lit2.xsl"?>

<lithist>
...

The stylesheet that conformed to the old way of MSIE did display the
data.

Has anyone got an idea why it fails?

Best regards,

Henning Behme

iX - Magazin fuer professionelle Informationstechnik
Helstorfer Str. 7 * 30625 Hannover * Germany
http://www.heise.de/ix/ * +49 511 5352-374 * f: -361
------ White, adj. and n. Black  (Ambrose Bierce) ------



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]