Welcome to WebmasterWorld Guest from 54.226.60.235

Forum Moderators: httpwebwitch

Message Too Old, No Replies

Where am I going wrong with my XML

Pangora...

     

robinsong

12:28 pm on Aug 31, 2004 (gmt 0)

10+ Year Member



I have been creating my XML Database for snipped shopping portal. I seem to get a repetative error on the closing tag </OFFER> each time? when I try to upload. Can anyone see where I am going wrong?

<?xml version="1.0" encoding="UTF-8"?>

<OFFERS>

<OFFER xml:lang="en" ID="C6FA21250">

<MERCHANTCATEGORY>Boots</MERCHANTCATEGORY>

<NAME>Dickies Cleveland Boot Chestnut Size 6</NAME>
<BRAND>Dickies/BRAND>
<DESCRIPTION>Detail: Leather ankle boot. </DESCRIPTION>

<DEEPLINK>http://www.***.co.uk/dickiesdeluxe.html</DEEPLINK>
<IMAGEURL>http://www.***.co.uk/products/FA21250.jpg</IMAGEURL>

<DELIVERY UNIT="D">5</DELIVERY>
<VALID FROM="2004-8-25" UNTIL="2005-8-25"/>

<PRICES>
<PRICE CURRENCY="GBP">35,00</PRICE>
</PRICES>

</OFFER>

<OFFER xml:lang="en" ID="C7FA21250">

<MERCHANTCATEGORY>Boots</MERCHANTCATEGORY>

<NAME>Dickies Cleveland Boot Chestnut Size 7</NAME>
<BRAND>Dickies/BRAND>
<DESCRIPTION>Detail: Leather ankle boot </DESCRIPTION>

<DEEPLINK>http://www.***.co.uk/dickiesdeluxe.html</DEEPLINK>
<IMAGEURL>http://www.***.co.uk/products/FA21250.jpg</IMAGEURL>

<DELIVERY UNIT="D">5</DELIVERY>
<VALID FROM="2004-8-25" UNTIL="2005-8-25"/>

<PRICES>
<PRICE CURRENCY="GBP">35,00</PRICE>
</PRICES>

</OFFER>
</OFFERS>

[edited by: DaveAtIFG at 5:17 am (utc) on Sep. 1, 2004]
[edit reason] Specifics removed [/edit]

davidpbrown

2:24 pm on Aug 31, 2004 (gmt 0)

10+ Year Member



Dumped into IE6 the error message is clear..
"End tag 'OFFER' does not match the start tag 'BRAND'"

<BRAND>Dickies/BRAND>
Should be
<BRAND>Dickies</BRAND>

I say this having done this *many* times. :)

------

All wiyht. Rho sritched mg kegtops awound?

 

Featured Threads

Hot Threads This Week

Hot Threads This Month