snakehips2000
Programmer
I have the undermentioned snippet of XMLcode in the BODY section of my web page.
When I run a browser validation check in Dreamweaver MX 2004 I get the following messages:
"The xml tag is not supported (Mozilla 1.0)" and "The datafld attribute of the Span tag is not supported. (Internet Explorer 3, 4, 5, 5.5, 6, Mozilla 1.0)".
Despite this, the XML seems to render OK when viewed in IE6, but all the data is missing when viewed in Mozilla Firefox 1.5.
I'm new to XML so would welcome any advice on what I need to do:
<xml id="BCPcat" src="../html/BCPPriceList.xml"></xml>
<div id="Layer1" style="position:absolute; width:736px; height:156px; z-index:1; top:60px; left:4px">
<table width="756" border="1" cellpadding="1" cellspacing="0" class="pricelist2" datasrc="#BCPcat">
<tr>
<td width="50"><span datafld="itemcode"></span></td>
<td width="65"><span datafld="xid"></span></td>
<td width="163"><span datafld="xname"></span></td>
<td width="94"><span datafld="weight"></span></td>
<td width="83"><span datafld="dimensions"></span></td>
<td width="113"><span datafld="cost"></span></td>
<td width="161"><span datafld="notes"></span></td>
</tr>
</table>
</div>
My XML file is:
<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet type="text/xsl" href="../html/BCPPriceList.xsl"?>
<catalogue>
<bcp>
<itemcode>Item 3</itemcode>
<photo>As Above</photo>
<xname>Tent Pins</xname>
<xid>a</xid>
<weight>0.27kgs</weight>
<dimensions>12mm x 12in.</dimensions>
<cost>£1.60</cost>
<notes></notes>
</bcp>
<bcp>
<itemcode>Item 5</itemcode>
<photo>As Above</photo>
<xname>No Washers</xname>
<xid>f</xid>
<weight>2.89kgs</weight>
<dimensions>25mm x 30in.</dimensions>
<cost>£1.30</cost>
<notes></notes>
</bcp>
</catalogue>
Thanks
When I run a browser validation check in Dreamweaver MX 2004 I get the following messages:
"The xml tag is not supported (Mozilla 1.0)" and "The datafld attribute of the Span tag is not supported. (Internet Explorer 3, 4, 5, 5.5, 6, Mozilla 1.0)".
Despite this, the XML seems to render OK when viewed in IE6, but all the data is missing when viewed in Mozilla Firefox 1.5.
I'm new to XML so would welcome any advice on what I need to do:
<xml id="BCPcat" src="../html/BCPPriceList.xml"></xml>
<div id="Layer1" style="position:absolute; width:736px; height:156px; z-index:1; top:60px; left:4px">
<table width="756" border="1" cellpadding="1" cellspacing="0" class="pricelist2" datasrc="#BCPcat">
<tr>
<td width="50"><span datafld="itemcode"></span></td>
<td width="65"><span datafld="xid"></span></td>
<td width="163"><span datafld="xname"></span></td>
<td width="94"><span datafld="weight"></span></td>
<td width="83"><span datafld="dimensions"></span></td>
<td width="113"><span datafld="cost"></span></td>
<td width="161"><span datafld="notes"></span></td>
</tr>
</table>
</div>
My XML file is:
<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet type="text/xsl" href="../html/BCPPriceList.xsl"?>
<catalogue>
<bcp>
<itemcode>Item 3</itemcode>
<photo>As Above</photo>
<xname>Tent Pins</xname>
<xid>a</xid>
<weight>0.27kgs</weight>
<dimensions>12mm x 12in.</dimensions>
<cost>£1.60</cost>
<notes></notes>
</bcp>
<bcp>
<itemcode>Item 5</itemcode>
<photo>As Above</photo>
<xname>No Washers</xname>
<xid>f</xid>
<weight>2.89kgs</weight>
<dimensions>25mm x 30in.</dimensions>
<cost>£1.30</cost>
<notes></notes>
</bcp>
</catalogue>
Thanks