xsl-list
[Top] [All Lists]

Problem META Tag

2003-05-24 14:36:03
Hello I get this XML from  SQLXML:
<ROOT xmlns:sql="urn:schemas-microsoft-com:xml-sql">
        <Employees EmployeeID="1" LastName="Davolio" FirstName="Susan" 
Title="Sales Representative" TitleOfCourtesy="Ms." 
BirthDate="1948-12-08T00:00:00" HireDate="1992-05-01T00:00:00" Address="507 - 
20th Ave. E.
Apt. 2A" City="Seattle" Region="WA" PostalCode="98122" Country="USA" 
HomePhone="(206) 555-9857" Extension="5467" 
Photo="dbobject/Employees[(_at_)EmployeeID='1']/@Photo" Notes="Education 
includes a BA in psychology from Colorado State University in 1970.  She also 
completed &quot;The Art of the Cold Call.&quot;  Nancy is a member of 
Toastmasters International." ReportsTo="2" 
PhotoPath="http://accweb/emmployees/davolio.bmp"/>
</ROOT>
and use this XSL Stylesheet:
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>

<xsl:template match="/">

 <html><head>

 
 </head><body>


        <table>
        <tr>
                <th>EmployeeID
                </th>
                <th>LastName
                </th>
                <th>FirstName
                </th>
                <th>Title
                </th>
        </tr>
                <xsl:for-each select="ROOT/Employees">
                <tr>
                        <td><xsl:value-of select="EmployeeID"/></td>
                        <td><xsl:value-of select="LastName"/></td>
                        <td><xsl:value-of select="FirstName"/></td>
                        <td><xsl:value-of select="Title"/></td>
                </tr>                   
                </xsl:for-each>
        </table>
 </body></html>
        </xsl:template>
</xsl:stylesheet>
 This works but the IE5 can not display this because SQLXML 
imprts this row:

<META http-equiv="Content-Type" content="text/html; charset=utf-8">
The problem is that this tag is not closed!
How can I solve this problem??
Regards 
Martin Lietz
Softwareengineer
Indec GmbH

______________________________________________________________________________
UNICEF bittet um Spenden fur die Kinder im Irak! Hier online an
UNICEF spenden: https://spenden.web.de/unicef/special/?mc=021101


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



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