homepage Welcome to WebmasterWorld Guest from 54.198.148.191
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Accredited PayPal World Seller

Home / Forums Index / Code, Content, and Presentation / XML Development
Forum Library, Charter, Moderators: httpwebwitch

XML Development Forum

    
Where am I going wrong with my XML
Pangora...
robinsong




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

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




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

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?

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / XML Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved