XML help

Topics that are not maps. Discuss general map making concepts, techniques, contests, etc, here.

Moderator: Cartographers

Forum rules
Please read the Community Guidelines before posting.
Post Reply
User avatar
Unit_2
Posts: 1834
Joined: Sun Jan 14, 2007 12:59 pm
Gender: Male
Location: Pennsylvania, U.S.A, North America, Earth, Milky Way, Universe.

XML help

Post by Unit_2 »

Ok, i tryed to fix this a million times and i can't get it to work, here is what this link, http://www.conquerclub.com/mapmaker/index.php and when i test the XML it says "

Code: Select all

line 13: <component>Wakkanai</component> - Did not expect element component there 

line 23: <component>Aomori</component> - Did not expect element component there 

line 36: <component>Gunma</component> - Did not expect element component there 

line 49: <component>Ishikawa</component> - Did not expect element component there 

line 62: <component>Shiga</component> - Did not expect element component there 

line 73: <component>Kyoto</component> - Did not expect element component there 

line 85: <component>Kagawa</component> - Did not expect element component there 

line 95: <component>Saga</component> - Did not expect element component there 
Summary: 8 errors and 0 warnings detected in japanxml2.xml
"
I can't figure out how to fix it.

Here is the map:
Image

Code: Select all

Here is the XML
<?xml version="1.0" ?> 
- <map>
  <title>Ancient Japan</title> 
  <smallwidth>600</smallwidth> 
  <smallheight>600</smallheight> 
  <largewidth>800</largewidth> 
  <largeheight>800</largeheight> 
  <filetype>png</filetype> 
- <continent>
  <name>Hokkaido</name> 
  <bonus>1</bonus> 
- <components>
  <component>Wakkanai</component> 
  <component>Abashiri</component> 
  <component>Hakodate</component> 
  <component>Obihiro</component> 
  </components>
  </continent>
- <continent>
  <name>Tohoku</name> 
  <bonus>4</bonus> 
- <components>
  <component>Aomori</component> 
  <component>Akita</component> 
  <component>Iwate</component> 
  <component>Yamagata</component> 
  <component>Miyagi</component> 
  <component>Niigate</component> 
  <component>Fukushima</component> 
  </components>
  </continent>
- <continent>
  <name>Kanto</name> 
  <bonus>6</bonus> 
- <components>
  <component>Gunma</component> 
  <component>Tochigi</component> 
  <component>Ibaraki</component> 
  <component>Saitarna</component> 
  <component>Kanag</component> 
  <component>Edo</component> 
  <component>Chiba</component> 
  </components>
  </continent>
- <continent>
  <name>Chubu</name> 
  <bonus>8</bonus> 
- <components>
  <component>Ishikawa</component> 
  <component>Nagano</component> 
  <component>Fukui</component> 
  <component>Gifu</component> 
  <component>Aichi</component> 
  <component>Yamaman</component> 
  <component>Shizuoka</component> 
  </components>
  </continent>
- <continent>
  <name>Kansai</name> 
  <bonus>7</bonus> 
- <components>
  <component>Shiga</component> 
  <component>Mie</component> 
  <component>Osaka</component> 
  <component>Nara</component> 
  <component>Wakayama</component> 
  </components>
  </continent>
- <continent>
  <name>Chugoku</name> 
  <bonus>5</bonus> 
- <components>
  <component>Kyoto</component> 
  <component>Hyogo</component> 
  <component>Okayama</component> 
  <component>Tottori</component> 
  <component>Hiroshima</component> 
  <component>Shimane</component> 
  </components>
  </continent>
- <continent>
  <name>Shikoku</name> 
  <bonus>4</bonus> 
- <components>
  <component>Kagawa</component> 
  <component>Tokushima</component> 
  <component>Ehime</component> 
  <component>Kochi</component> 
  </components>
  </continent>
- <continent>
  <name>Kynshu</name> 
  <bonus>4</bonus> 
- <components>
  <component>Saga</component> 
  <component>Fukuoka</component> 
  <component>Oita</component> 
  <component>Kumamoto</component> 
  <component>Kagoshima</component> 
  <component>Miyazaki</component> 
  </components>
  </continent>
- <territory>
  <name>Wakkanai</name> 
- <borders>
  <border>Abashiri</border> 
  <border>Obibiro</border> 
  <border>Hakodate</border> 
  </borders>
- <coordinates>
  <smallx>532</smallx> 
  <smally>54</smally> 
  <largex>467</largex> 
  <largey>178</largey> 
  </coordinates>
  </territory>
- <territory>
  <name>Abashiri</name> 
- <borders>
  <border>Wakkanai</border> 
  <border>Obibiro</border> 
  </borders>
- <coordinates>
  <smallx>566</smallx> 
  <smally>70</smally> 
  <largex>543</largex> 
  <largey>203</largey> 
  </coordinates>
  </territory>
- <territory>
  <name>Obibiro</name> 
- <borders>
  <border>Abashiri</border> 
  <border>Wakkanai</border> 
  <border>Hakodate</border> 
  </borders>
- <coordinates>
  <smallx>538</smallx> 
  <smally>80</smally> 
  <largex>475</largex> 
  <largey>238</largey> 
  </coordinates>
  </territory>
- <territory>
  <name>Hakodate</name> 
- <borders>
  <border>Wakkanal</border> 
  <border>Obibiro</border> 
  <border>Aomori</border> 
  </borders>
- <coordinates>
  <smallx>493</smallx> 
  <smally>78</smally> 
  <largex>413</largex> 
  <largey>249</largey> 
  </coordinates>
  </territory>
- <territory>
  <name>Aomori</name> 
- <borders>
  <border>Akita</border> 
  <border>Iwate</border> 
  <border>Hakodate</border> 
  <border>Niigate</border> 
  <border>Ibaraki</border> 
  <border>Gifu</border> 
  <border>Nara</border> 
  <border>Hiroshima</border> 
  <border>Kagoshima</border> 
  <border>Fukuoka</border> 
  <border>Shimate</border> 
  </borders>
- <coordinates>
  <smallx>522</smallx> 
  <smally>133</smally> 
  <largex>716</largex> 
  <largey>161</largey> 
  </coordinates>
  </territory>
- <territory>
  <name>Akita</name> 
- <borders>
  <border>Aomori</border> 
  <border>Iwate</border> 
  <border>Yamagata</border> 
  <border>Miyagi</border> 
  </borders>
- <coordinates>
  <smallx>487</smallx> 
  <smally>155</smally> 
  <largex>679</largex> 
  <largey>247</largey> 
  </coordinates>
  </territory>
- <territory>
  <name>Iwate</name> 
- <borders>
  <border>Akita</border> 
  <border>Aomori</border> 
  <border>Miyagi</border> 
  </borders>
- <coordinates>
  <smallx>511</smallx> 
  <smally>183</smally> 
  <largex>745</largex> 
  <largey>225</largey> 
  </coordinates>
  </territory>
- <territory>
  <name>Yamagata</name> 
- <borders>
  <border>Akita</border> 
  <border>Miyagi</border> 
  <border>Fukushima</border> 
  <border>Niigate</border> 
  </borders>
- <coordinates>
  <smallx>453</smallx> 
  <smally>194</smally> 
  <largex>668</largex> 
  <largey>349</largey> 
  </coordinates>
  </territory>
- <territory>
  <name>Miyagi</name> 
- <borders>
  <border>Akita</border> 
  <border>Iwate</border> 
  <border>Fukushima</border> 
  <border>Yamagata</border> 
  </borders>
- <coordinates>
  <smallx>490</smallx> 
  <smally>209</smally> 
  <largex>712</largex> 
  <largey>342</largey> 
  </coordinates>
  </territory>
- <territory>
  <name>Fukushima</name> 
- <borders>
  <border>Miyagi</border> 
  <border>Yamagata</border> 
  <border>Niigate</border> 
  <border>Tochigi</border> 
  <border>Ibaraki</border> 
  </borders>
- <coordinates>
  <smallx>451</smallx> 
  <smally>234</smally> 
  <largex>695</largex> 
  <largey>437</largey> 
  </coordinates>
  </territory>
- <territory>
  <name>Niigate</name> 
- <borders>
  <border>Yamagata</border> 
  <border>Ishikawa</border> 
  <border>Nagano</border> 
  <border>Gunma</border> 
  <border>Fukushima</border> 
  <border>Aomori</border> 
  <border>Ibaraki</border> 
  <border>Gifu</border> 
  <border>Nara</border> 
  <border>Shimane</border> 
  <border>Kagoshima</border> 
  <border>Fukuoka</border> 
  </borders>
- <coordinates>
  <smallx>394</smallx> 
  <smally>217</smally> 
  <largex>613</largex> 
  <largey>401</largey> 
  </coordinates>
  </territory>
- <territory>
  <name>Gunma</name> 
- <borders>
  <border>Nagano</border> 
  <border>Saitama</border> 
  <border>Tochigi</border> 
  <border>Niigate</border> 
  </borders>
- <coordinates>
  <smallx>397</smallx> 
  <smally>244</smally> 
  <largex>599</largex> 
  <largey>489</largey> 
  </coordinates>
  </territory>
- <territory>
  <name>Tochigi</name> 
- <borders>
  <border>Ibaraki</border> 
  <border>Fukushima</border> 
  <border>Gunma</border> 
  <border>Saitama</border> 
  </borders>
- <coordinates>
  <smallx>427</smallx> 
  <smally>253</smally> 
  <largex>649</largex> 
  <largey>494</largey> 
  </coordinates>
  </territory>
- <territory>
  <name>Ibaraki</name> 
- <borders>
  <border>Fukushima</border> 
  <border>Tochigi</border> 
  <border>Saitama</border> 
  <border>Edo</border> 
  <border>Chiba</border> 
  <border>Aomori</border> 
  <border>Niigate</border> 
  <border>Gifu</border> 
  <border>Nara</border> 
  <border>Shimane</border> 
  <border>Kagoshima</border> 
  <border>Fukuoka</border> 
  </borders>
- <coordinates>
  <smallx>449</smallx> 
  <smally>261</smally> 
  <largex>693</largex> 
  <largey>503</largey> 
  </coordinates>
  </territory>
- <territory>
  <name>Chiba</name> 
- <borders>
  <border>Ibaraki</border> 
  <border>Edo</border> 
  </borders>
- <coordinates>
  <smallx>423</smallx> 
  <smally>300</smally> 
  <largex>691</largex> 
  <largey>573</largey> 
  </coordinates>
  </territory>
- <territory>
  <name>Edo</name> 
- <borders>
  <border>Chiba</border> 
  <border>Ibaraki</border> 
  <border>Saitama</border> 
  <border>Kanag</border> 
  </borders>
- <coordinates>
  <smallx>411</smallx> 
  <smally>285</smally> 
  <largex>652</largex> 
  <largey>581</largey> 
  </coordinates>
  </territory>
- <territory>
  <name>Kanag</name> 
- <borders>
  <border>Edo</border> 
  <border>Saitama</border> 
  <border>Yamaman</border> 
  <border>Shizuoka</border> 
  </borders>
- <coordinates>
  <smallx>390</smallx> 
  <smally>303</smally> 
  <largex>616</largex> 
  <largey>570</largey> 
  </coordinates>
  </territory>
- <territory>
  <name>Saitama</name> 
- <borders>
  <border>Nagano</border> 
  <border>Gunma</border> 
  <border>Tochigi</border> 
  <border>Ibaraki</border> 
  <border>Edo</border> 
  <border>Kanag</border> 
  <border>Yamaman</border> 
  </borders>
- <coordinates>
  <smallx>390</smallx> 
  <smally>273</smally> 
  <largex>624</largex> 
  <largey>525</largey> 
  </coordinates>
  </territory>
- <territory>
  <name>Ishikawa</name> 
- <borders>
  <border>Fukui</border> 
  <border>Gifu</border> 
  <border>Nagano</border> 
  <border>Niigate</border> 
  </borders>
- <coordinates>
  <smallx>332</smallx> 
  <smally>210</smally> 
  <largex>463</largex> 
  <largey>463</largey> 
  </coordinates>
  </territory>
- <territory>
  <name>Nagano</name> 
- <borders>
  <border>Yamaman</border> 
  <border>Shizuoka</border> 
  <border>Aichi</border> 
  <border>Gifu</border> 
  <border>Ishikawa</border> 
  <border>Niigate</border> 
  <border>Gunma</border> 
  <border>Saitama</border> 
  </borders>
- <coordinates>
  <smallx>359</smallx> 
  <smally>250</smally> 
  <largex>527</largex> 
  <largey>553</largey> 
  </coordinates>
  </territory>
- <territory>
  <name>Yamaman</name> 
- <borders>
  <border>Shizuoka</border> 
  <border>Nagano</border> 
  <border>Saitama</border> 
  <border>Kanag</border> 
  </borders>
- <coordinates>
  <smallx>369</smallx> 
  <smally>281</smally> 
  <largex>564</largex> 
  <largey>583</largey> 
  </coordinates>
  </territory>
- <territory>
  <name>Shizuoka</name> 
- <borders>
  <border>Aichi</border> 
  <border>Nagano</border> 
  <border>Yamaman</border> 
  <border>Kanag</border> 
  </borders>
- <coordinates>
  <smallx>338</smallx> 
  <smally>300</smally> 
  <largex>535</largex> 
  <largey>638</largey> 
  </coordinates>
  </territory>
- <territory>
  <name>Aichi</name> 
- <borders>
  <border>Mie</border> 
  <border>Gifu</border> 
  <border>Nagano</border> 
  <border>Shizuoka</border> 
  </borders>
- <coordinates>
  <smallx>310</smallx> 
  <smally>282</smally> 
  <largex>481</largex> 
  <largey>635</largey> 
  </coordinates>
  </territory>
- <territory>
  <name>Gifu</name> 
- <borders>
  <border>Mie</border> 
  <border>Shiga</border> 
  <border>Fukui</border> 
  <border>Ishikawa</border> 
  <border>Nagano</border> 
  <border>Aichi</border> 
  <border>Aomori</border> 
  <border>Niigate</border> 
  <border>Ibaraki</border> 
  <border>Nara</border> 
  <border>Shimane</border> 
  <border>Kagoshima</border> 
  <border>Fukuoka</border> 
  </borders>
- <coordinates>
  <smallx>322</smallx> 
  <smally>251</smally> 
  <largex>476</largex> 
  <largey>537</largey> 
  </coordinates>
  </territory>
- <territory>
  <name>Fukui</name> 
- <borders>
  <border>Ishikawa</border> 
  <border>Gifu</border> 
  <border>Shiga</border> 
  </borders>
- <coordinates>
  <smallx>293</smallx> 
  <smally>248</smally> 
  <largex>423</largex> 
  <largey>549</largey> 
  </coordinates>
  </territory>
- <territory>
  <name>Shiga</name> 
- <borders>
  <border>Fukui</border> 
  <border>Gifu</border> 
  <border>Mie</border> 
  <border>Kyoto</border> 
  </borders>
- <coordinates>
  <smallx>273</smallx> 
  <smally>272</smally> 
  <largex>412</largex> 
  <largey>617</largey> 
  </coordinates>
  </territory>
- <territory>
  <name>Mie</name> 
- <borders>
  <border>Wakayama</border> 
  <border>Nara</border> 
  <border>Kyoto</border> 
  <border>Shiga</border> 
  <border>Gifu</border> 
  <border>Aichi</border> 
  </borders>
- <coordinates>
  <smallx>375</smallx> 
  <smally>313</smally> 
  <largex>432</largex> 
  <largey>674</largey> 
  </coordinates>
  </territory>
- <territory>
  <name>Nara</name> 
- <borders>
  <border>Kyoto</border> 
  <border>Mie</border> 
  <border>Wakayama</border> 
  <border>Osaka</border> 
  <border>Aomori</border> 
  <border>Niigate</border> 
  <border>Ibaraki</border> 
  <border>Gifu</border> 
  <border>Shimane</border> 
  <border>Kagoshima</border> 
  <border>Fukuoka</border> 
  </borders>
- <coordinates>
  <smallx>254</smallx> 
  <smally>302</smally> 
  <largex>388</largex> 
  <largey>703</largey> 
  </coordinates>
  </territory>
- <territory>
  <name>Wakayama</name> 
- <borders>
  <border>Iokushima</border> 
  <border>Osaka</border> 
  <border>Nara</border> 
  <border>Mie</border> 
  </borders>
- <coordinates>
  <smallx>235</smallx> 
  <smally>332</smally> 
  <largex>356</largex> 
  <largey>709</largey> 
  </coordinates>
  </territory>
- <territory>
  <name>Osaka</name> 
- <borders>
  <border>Wakayama</border> 
  <border>Hyogo</border> 
  <border>Kyoto</border> 
  <border>Nara</border> 
  </borders>
- <coordinates>
  <smallx>235</smallx> 
  <smally>291</smally> 
  <largex>373</largex> 
  <largey>650</largey> 
  </coordinates>
  </territory>
- <territory>
  <name>Kyoto</name> 
- <borders>
  <border>Shiga</border> 
  <border>Mie</border> 
  <border>Nara</border> 
  <border>Osaka</border> 
  <border>Hyogo</border> 
  </borders>
- <coordinates>
  <smallx>244</smallx> 
  <smally>258</smally> 
  <largex>377</largex> 
  <largey>613</largey> 
  </coordinates>
  </territory>
- <territory>
  <name>Hyogo</name> 
- <borders>
  <border>Okayama</border> 
  <border>Tottori</border> 
  <border>Kyoto</border> 
  <border>Osaka</border> 
  </borders>
- <coordinates>
  <smallx>230</smallx> 
  <smally>275</smally> 
  <largex>320</largex> 
  <largey>597</largey> 
  </coordinates>
  </territory>
- <territory>
  <name>Okayama</name> 
- <borders>
  <border>Kagawa</border> 
  <border>Hiroshima</border> 
  <border>Tottori</border> 
  <border>Hyogo</border> 
  </borders>
- <coordinates>
  <smallx>186</smallx> 
  <smally>263</smally> 
  <largex>264</largex> 
  <largey>646</largey> 
  </coordinates>
  </territory>
- <territory>
  <name>Tottori</name> 
- <borders>
  <border>Hyogo</border> 
  <border>Okayama</border> 
  <border>Hiroshima</border> 
  <border>Shimane</border> 
  </borders>
- <coordinates>
  <smallx>196</smallx> 
  <smally>245</smally> 
  <largex>288</largex> 
  <largey>582</largey> 
  </coordinates>
  </territory>
- <territory>
  <name>Hiroshima</name> 
- <borders>
  <border>Shimane</border> 
  <border>Tottori</border> 
  <border>Okayama</border> 
  <border>Aomori</border> 
  <border>Niigate</border> 
  <border>Ibaraki</border> 
  <border>Gifu</border> 
  <border>Nara</border> 
  <border>Kagoshima</border> 
  <border>Fukuoka</border> 
  </borders>
- <coordinates>
  <smallx>145</smallx> 
  <smally>254</smally> 
  <largex>184</largex> 
  <largey>633</largey> 
  </coordinates>
  </territory>
- <territory>
  <name>Shimane</name> 
- <borders>
  <border>Tottori</border> 
  <border>Hiroshima</border> 
  <border>Fukuoka</border> 
  </borders>
- <coordinates>
  <smallx>96</smallx> 
  <smally>264</smally> 
  <largex>120</largex> 
  <largey>658</largey> 
  </coordinates>
  </territory>
- <territory>
  <name>Kagawa</name> 
- <borders>
  <border>Okayama</border> 
  <border>Tokushima</border> 
  </borders>
- <coordinates>
  <smallx>205</smallx> 
  <smally>288</smally> 
  <largex>251</largex> 
  <largey>686</largey> 
  </coordinates>
  </territory>
- <territory>
  <name>Tokushima</name> 
- <borders>
  <border>Kagawa</border> 
  <border>Wakayama</border> 
  <border>Kochi</border> 
  <border>Ehime</border> 
  </borders>
- <coordinates>
  <smallx>191</smallx> 
  <smally>311</smally> 
  <largex>291</largex> 
  <largey>729</largey> 
  </coordinates>
  </territory>
- <territory>
  <name>Kochi</name> 
- <borders>
  <border>Ehime</border> 
  <border>Tokushima</border> 
  </borders>
- <coordinates>
  <smallx>124</smallx> 
  <smally>321</smally> 
  <largex>183</largex> 
  <largey>783</largey> 
  </coordinates>
  </territory>
- <territory>
  <name>Ehime</name> 
- <borders>
  <border>Tokushima</border> 
  <border>Kochi</border> 
  <border>Oita</border> 
  </borders>
- <coordinates>
  <smallx>145</smallx> 
  <smally>294</smally> 
  <largex>193</largex> 
  <largey>717</largey> 
  </coordinates>
  </territory>
- <territory>
  <name>Saga</name> 
- <borders>
  <border>Fukuoka</border> 
  </borders>
- <coordinates>
  <smallx>35</smallx> 
  <smally>297</smally> 
  <largex>224</largex> 
  <largey>370</largey> 
  </coordinates>
  </territory>
- <territory>
  <name>Fukuoka</name> 
- <borders>
  <border>Saga</border> 
  <border>Kumamoto</border> 
  <border>Oita</border> 
  <border>Kagoshima</border> 
  <border>Hiroshima</border> 
  <border>Nara</border> 
  <border>Gifu</border> 
  <border>Ibaraki</border> 
  <border>Niigate</border> 
  <border>Aomori</border> 
  <border>Shimane</border> 
  </borders>
- <coordinates>
  <smallx>66</smallx> 
  <smally>289</smally> 
  <largex>267</largex> 
  <largey>345</largey> 
  </coordinates>
  </territory>
- <territory>
  <name>Oita</name> 
- <borders>
  <border>Fukuoka</border> 
  <border>Kumamoto</border> 
  <border>Miyazaki</border> 
  <border>Ehime</border> 
  </borders>
- <coordinates>
  <smallx>88</smallx> 
  <smally>314</smally> 
  <largex>316</largex> 
  <largey>339</largey> 
  </coordinates>
  </territory>
- <territory>
  <name>Kumamoto</name> 
- <borders>
  <border>Fukuoka</border> 
  <border>Oita</border> 
  <border>Miyazaki</border> 
  <border>Kagoshima</border> 
  </borders>
- <coordinates>
  <smallx>33</smallx> 
  <smally>328</smally> 
  <largex>277</largex> 
  <largey>382</largey> 
  </coordinates>
  </territory>
- <territory>
  <name>Kagoshima</name> 
- <borders>
  <border>Kumamoto</border> 
  <border>Miyazaki</border> 
  <border>Fukuoka</border> 
  <border>Hiroshima</border> 
  <border>Nara</border> 
  <border>Gifu</border> 
  <border>Ibaraki</border> 
  <border>Niigate</border> 
  <border>Aomori</border> 
  </borders>
- <coordinates>
  <smallx>24</smallx> 
  <smally>349</smally> 
  <largex>269</largex> 
  <largey>487</largey> 
  </coordinates>
  </territory>
- <territory>
  <name>Miyazaki</name> 
- <borders>
  <border>Oita</border> 
  <border>Kumamoto</border> 
  <border>Kagoshima</border> 
  </borders>
- <coordinates>
  <smallx>65</smallx> 
  <smally>347</smally> 
  <largex>313</largex> 
  <largey>401</largey> 
  </coordinates>
  </territory>
  </map>
Image
User avatar
gimil
Posts: 8599
Joined: Sat Mar 03, 2007 12:42 pm
Gender: Male
Location: United Kingdom (Scotland)

Post by gimil »

As far as i know thats just the XML reader informing you that a tag is in the wrong location. This is the XML update that has casued this. As far as i can tell the XML should still work fine with those errors.

BUT!!!!

lets wait for coleman or yeti to explain it :wink:

EDIT: edbeard jsut bitched me below
Last edited by gimil on Tue Jan 22, 2008 10:11 pm, edited 1 time in total.
What do you know about map making, bitch?
natty_dread wrote:I was wrong
Top Score:2403
User avatar
edbeard
Posts: 2501
Joined: Thu Mar 29, 2007 12:41 am

Post by edbeard »

well I think you need to get rid of all the - in there


edit: try first without the - then if that doesn't work maybe try the stuff below. Or, just wait for yeti / lanyards


then (I hope you're using notepad) do a replace all for components

replace components with asdf

then replace component with territory

then replace asdf with components


you have to do it that way or else your components (which you want) will be called territorys if you just did the second step


I'm fairly sure that's your problem
Last edited by edbeard on Tue Jan 22, 2008 10:11 pm, edited 1 time in total.
User avatar
Coleman
Posts: 5402
Joined: Tue Jan 02, 2007 10:36 pm
Gender: Male
Location: Midwest

Post by Coleman »

We use territory instead of component now, so component won't work.
User avatar
Unit_2
Posts: 1834
Joined: Sun Jan 14, 2007 12:59 pm
Gender: Male
Location: Pennsylvania, U.S.A, North America, Earth, Milky Way, Universe.

Post by Unit_2 »

ok, so insted of this " - <continent>
<name>Shikoku</name>
<bonus>4</bonus>
- <components>
<component>Kagawa</component>
<component>Tokushima</component>
<component>Ehime</component>
<component>Kochi</component>
</components>
</continent>
- <continent> "

it shoudl be " - <continent>
<name>Shikoku</name>
<bonus>4</bonus>
- <territorys>
<territory>Kagawa</territory>
<territory>Tokushima</territory>
<territory>Ehime</territory>
<territory>Kochi</territory>
</territorys>
</territory>
- <territory>
Image
User avatar
Coleman
Posts: 5402
Joined: Tue Jan 02, 2007 10:36 pm
Gender: Male
Location: Midwest

Post by Coleman »

Nope

<continent>
<name>Shikoku</name>
<bonus>4</bonus>
<components>
<territory>Kagawa</territory>
<territory>Tokushima</territory>
<territory>Ehime</territory>
<territory>Kochi</territory>
</components>
</continent>

It's still components, but now it can be continent or territory inside so you do one or the other.
User avatar
Herakilla
Posts: 4283
Joined: Fri Jun 09, 2006 8:33 pm
Location: Wandering the world, spreading Conquerism

Post by Herakilla »

has there been an official post listing all the new XML features yet?
Come join us in Live Chat!
User avatar
Coleman
Posts: 5402
Joined: Tue Jan 02, 2007 10:36 pm
Gender: Male
Location: Midwest

Post by Coleman »

Herakilla wrote:has there been an official post listing all the new XML features yet?
Sort of, not by itself though. I should do that soon...
User avatar
yeti_c
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Gender: Male

Post by yeti_c »

edbeard wrote:well I think you need to get rid of all the - in there


edit: try first without the - then if that doesn't work maybe try the stuff below. Or, just wait for yeti / lanyards


then (I hope you're using notepad) do a replace all for components

replace components with asdf

then replace component with territory

then replace asdf with components


you have to do it that way or else your components (which you want) will be called territorys if you just did the second step


I'm fairly sure that's your problem
Ed -> try this...

Search on 'component>'
Replace with 'territory>'

Much easier...

C.
Image
Highest score : 2297
User avatar
Unit_2
Posts: 1834
Joined: Sun Jan 14, 2007 12:59 pm
Gender: Male
Location: Pennsylvania, U.S.A, North America, Earth, Milky Way, Universe.

Post by Unit_2 »

Ok, thank you guys, i will fix this and then i will post it in the Japan thread(Telvannia is working on the large right now, so as soon as he makes it i will make the coordinates for the large so as of now teh small is done but the large is not).
Image
User avatar
Herakilla
Posts: 4283
Joined: Fri Jun 09, 2006 8:33 pm
Location: Wandering the world, spreading Conquerism

Post by Herakilla »

Coleman wrote:
Herakilla wrote:has there been an official post listing all the new XML features yet?
Sort of, not by itself though. I should do that soon...
would be a good idea wouldnt it?
Come join us in Live Chat!
User avatar
Coleman
Posts: 5402
Joined: Tue Jan 02, 2007 10:36 pm
Gender: Male
Location: Midwest

Post by Coleman »

Herakilla wrote:
Coleman wrote:
Herakilla wrote:has there been an official post listing all the new XML features yet?
Sort of, not by itself though. I should do that soon...
would be a good idea wouldnt it?
I sensed mean sarcasm out of that so now I'm going to wait until tomorrow to do it just out of spite.
User avatar
Herakilla
Posts: 4283
Joined: Fri Jun 09, 2006 8:33 pm
Location: Wandering the world, spreading Conquerism

Post by Herakilla »

Coleman wrote:
Herakilla wrote:
Coleman wrote:
Herakilla wrote:has there been an official post listing all the new XML features yet?
Sort of, not by itself though. I should do that soon...
would be a good idea wouldnt it?
I sensed mean sarcasm out of that so now I'm going to wait until tomorrow to do it just out of spite.
touche.....
Come join us in Live Chat!
User avatar
Herakilla
Posts: 4283
Joined: Fri Jun 09, 2006 8:33 pm
Location: Wandering the world, spreading Conquerism

Post by Herakilla »

i must say your title is very befitting of you...













































:D (smiley here to eliminate the meanness)
Come join us in Live Chat!
User avatar
yeti_c
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Gender: Male

Post by yeti_c »

Coleman wrote:
Herakilla wrote:
Coleman wrote:
Herakilla wrote:has there been an official post listing all the new XML features yet?
Sort of, not by itself though. I should do that soon...
would be a good idea wouldnt it?
I sensed mean sarcasm out of that so now I'm going to wait until tomorrow to do it just out of spite.
Would you like me to proof read?

C.
Image
Highest score : 2297
User avatar
Unit_2
Posts: 1834
Joined: Sun Jan 14, 2007 12:59 pm
Gender: Male
Location: Pennsylvania, U.S.A, North America, Earth, Milky Way, Universe.

Post by Unit_2 »

ok guys, i got it working so i will do the coordinates and then post it.
Image
Post Reply

Return to “Foundry Discussions”