[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Problem META Tag
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[@EmployeeID='1']/@Photo" Notes="Education includes a BA in psychology from Colorado State University in 1970. She also completed "The Art of the Cold Call." 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|