Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XML
|
XML General XML discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XML section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 23rd, 2008, 04:22 PM
Registered User
 
Join Date: Jan 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default IE7 displays a blank page...

How can I display XML document directly or indirectly embedded in the HTML pages?
I am attaching the code that I used (from "Beginning XML Databases" by Gavin Powell). The IE7 displays a blank page...
Thanks

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title>Untitled Page</title>
</head>
<body color="red">
   <xml id="xmlParts">
    <?xml version="1.0"?>
        <parts>
            <part>
             <partnumber>X1234-125</partnumber>
             <description>Brake hose</description>
             <price> $22.45</price>
            </part>
            <part>
             <partnumber>Y00023-12A</partnumber>
             <description>Transmission</description>
             <price>$8000.00</price>
            </part>
         </parts>
    </xml>
</body>
</html>

 
Old January 23rd, 2008, 10:01 PM
Friend of Wrox
 
Join Date: Jul 2006
Posts: 430
Thanks: 28
Thanked 5 Times in 5 Posts
Send a message via Yahoo to bonekrusher
Default

Hi,

The HTML page works in IE7 however your html doesnt have any instructions to display anything but the title.

You have an XML data island, which is data, not presentation.
See here:

http://www.devx.com/tips/Tip/14109

Good luck







Similar Threads
Thread Thread Starter Forum Replies Last Post
when page refreshed layout breaks in IE7 socoolbrewster CSS Cascading Style Sheets 1 May 17th, 2008 11:05 PM
Closing page without prompt in IE7 gp_mk ASP.NET 1.0 and 1.1 Professional 2 November 22nd, 2006 10:29 AM
Images blank in IE7 gp_mk ASP.NET 1.0 and 1.1 Professional 0 November 8th, 2006 12:29 PM
why blank page? gilgalbiblewheel Classic ASP Databases 6 December 31st, 2004 09:30 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.