我有下面的XML:XML格式不正確,但我不知道爲什麼
<?xml version="1.0" encoding="ISO-8859-1"?>
<results>
<ip>195.72.186.157</ip>
<country>UNITED KINGDOM (UK)</country>
<city>Oxford</city>
<latitude>51.75</latitude>
<longitude>-1.25</longitude>
<staticmap>http://maps.google.com/maps/api/staticmap?center=51.75,-1.25&sensor=false&zoom=13&size=500x300</staticmap>
<dynamicmap>http://maps.google.co.uk/maps?f=q&source=s_q&hl=en&geocode=&q=51.75,-1.25&sll=52.7115,-2.0006&sspn=0.07831,0.264187&ie=UTF8&ll=51.75,-1.25&spn=0.048204,0.132093&z=14&output=embed</dynamicmap>
</results>
問題是,它是即將到來的畸形,當我驗證。不喜歡的角色是等號。它有什麼問題呢?我在這裏驗證它:
http://www.w3schools.com/dom/dom_validate.asp
請不要使用W3Schools的。他們的網站充滿了不準確的情況。 – Kornel 2011-01-11 12:38:46