display of xml in firefox

Andy Ford <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xml
Message-ID <[email protected]>
Anyone subscribed to this group have any knowledge of this..
I am trying to get the following simple xml/xsl stuff to format
correctly. It doen't in the linux version of firefox 1.0_pre-r2 but does
(according to my colleague) format correctly in I.E

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="simple_table.xsl"?>
<root>
        <person>
                <forename>metal</forename>
                <surname>mickey</surname>
                <age>21</age>
        </person>
        <person>
                <forename>hey</forename>
                <surname>bukko</surname>
                <age>99</age>
        </person>
        <person>
                <forename>experts</forename>
                <surname>exchange</surname>
                <age>10</age>
        </person>
</root>


----------------

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format">
<xsl:template match="root">
<table border="1">
<tr>
        <td>Forename </td>
        <td>Surname </td>
        <td>age </td>
</tr>
<xsl:apply-templates/>
</table>
</xsl:template>
<xsl:template match="person">
<tr>
<xsl:apply-templates/>
</tr>
</xsl:template>
<xsl:template match="forename">
<td>
<xsl:apply-templates/>
</td>
</xsl:template>
<xsl:template match="surname">
<td>
<xsl:apply-templates/>
</td>
</xsl:template>
<xsl:template match="age">
<td>
<xsl:apply-templates/>
</td>
</xsl:template>
</xsl:stylesheet>


Thanks

Andy

This e-mail is private and may be confidential and is for the intended recipient only.  If misdirected, please notify us by telephone and confirm that it has been deleted from your system and any copies destroyed.  If you are not the intended recipient you are strictly prohibited from using, printing, copying, distributing or disseminating this e-mail or any information contained in it.  We use reasonable endeavours to virus scan all e-mails leaving the Company but no warranty is given that this e-mail and any attachments are virus free.  You should undertake your own virus checking.  The right to monitor e-mail communications through our network is reserved by us.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.