xsl-list
[Top] [All Lists]

Re: xsl not formatting xml correctly in mozilla or firefox

2004-12-02 13:07:44
Hi again Andy,

I just realized why it was acting strangly without an output tag.

It's not a well formed html document.

Try something like this:

<xsl:template match="root">
<html>
<head>
<title>
The Table
</title>
</head>
<body>
<table border="1">
<tr>
      <td>Forename</td>
      <td>Surname</td>
     <td>age</td>
</tr>
<xsl:apply-templates/>
</table>
</body>
</html>

Sorry to clutter mailboxes. Should have caught that while writing the
last email.  Even so, having an output tag can't hurt (someone please
correct me if I'm wrong on that).

Jon Gorman

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>