Why is this xml not loading into my html on a mac

wxdqz

New Member
I'm trying to display xml text in a html table. This code below works on a PC but not on a mac. Could someone please give me a clue why this is happening?


HTML Doc:
<!-- File Name: Inventory Table.htm -->

<HTML>

<HEAD>
<TITLE> Book Inventory</TITLE>
</HEAD>
<BODY>
<XML ID="dsoInventory" SRC=http://www.webdeveloper.com/forum/archive/index.php/"Inventory.xml"></XML>

<H2> Book Inventory</H2>

<TABLE DATASRC="#dsoInventory" BORDER="1" CELLPADDING="5">
<THEAD>
<TH>Title</TH>
<TH>Author</TH>
<TH>Binding</TH>
<TH>Pages</TH>
<TH>Price</TH>
</THEAD>
<TR ALIGN="center">
<TD><SPAN DATAFLD="TITLE"</SPAN></TD>
<TD> <SPAN DATAFLD="AUTHOR"</SPAN></TD>
<TD> <SPAN DATAFLD="BINDING"</SPAN></TD>
<TD> <SPAN DATAFLD="PAGES"</SPAN></TD>
<TD> <SPAN DATAFLD="PRICE"</SPAN></TD>
</TR>
</TABLE>
</BODY>
</HTML>


XML Doc:

<?xml version="1.0"?>

<!-- File Name: Inventory.xml -->

<INVENTORY>
<BOOK>
<TITLE>The Adventures of Huckleberry Finn</TITLE>
<AUTHOR>Mark Twain</AUTHOR>
<BINDING>mass marketing paperback</BINDING>
<PAGES>298</PAGES>
<PRICE>$5.49</PRICE>
</BOOK>

</INVENTORY>

Thanks for anyones help.
Michael
 
Back
Top