ok, here is what i have accomplished so far.
as far as reading the xml and putting the info into the map DB i have written some php that write an array like this from the xml you just have to give it one page at a time. you should be able to modify it to get it into the database if you want.
Code:
Array
(
[IconType] => Array
(
[NAMEzail] => NAME
[MOBcavs] => MOB
[MOBcanda] => MOB
[LOCchapel] => LOC
[ZONEshiii] => ZONE
[LOCarchery] => LOC
[MOBoozmist] => MOB
[NAMEscion] => NAME
[MOBzombies] => MOB
[ZONElib] => ZONE
[ZONEvalor] => ZONE
[MOBgel] => MOB
[MOBtorrent] => MOB
[LOCatrium] => LOC
[MOBdcrusaders] => MOB
[MOBhand] => MOB
[MOBstrongboxes] => MOB
[ZONEshi] => ZONE
[MOBtombs] => MOB
[LOClib2] => LOC
[MOBwrits] => MOB
)
[LOC] => Array
(
[NAMEzail] => 121.60, -24.72, -5.33
[MOBcavs] => 111.86, -18.72, -29.67
[MOBcanda] => 79.56, -16.57, -17.74
[LOCchapel] => 79.56, -16.57, -17.74
[ZONEshiii] => 93.16, -38.00, -99.10
[LOCarchery] => 7.18, -24.82, -76.24
[MOBoozmist] => 5.04, -26.55, -121.61
[NAMEscion] => 5.04, -26.55, -121.61
[MOBzombies] => 5.04, -26.55, -121.61
[ZONElib] => 5.04, -26.55, -121.61
[ZONEvalor] => -15.69, -24.83, -43.60
[MOBgel] => -24.87, -24.79, -126.91
[MOBtorrent] => -49.24, -24.79, -124.00
[LOCatrium] => -72.69, -24.76, -98.14
[MOBdcrusaders] => -103.73, -25.74, -64.59
[MOBhand] => -103.73, -25.74, -64.59
[MOBstrongboxes] => -95.61, -32.00, -173.57
[ZONEshi] => -145.19, -16.00, -98.16
[MOBtombs] => -116.51, -32.00, -154.36
[LOClib2] => -116.51, -32.00, -154.36
[MOBwrits] => -116.51, -32.00, -154.36
)
[Description] => Array
(
[NAMEzail] => The Maelstrom
[MOBcavs] => Cavaliers
[MOBcanda] => Cavaliers, Acolytes
[LOCchapel] => The Chapel
[ZONEshiii] => To Stormhold Keep III
[LOCarchery] => Archery
[MOBoozmist] => Oozing Fungus, Condensed Mist
[NAMEscion] => Scion of Pain
[MOBzombies] => Zombies
[ZONElib] => To Library
[ZONEvalor] => To Tomb of Valor
[MOBgel] => Gel-Cubes
[MOBtorrent] => Torrents
[LOCatrium] => Atrium
[MOBdcrusaders] => Defiled Crusaders
[MOBhand] => Handmaidens
[MOBstrongboxes] => Strongboxes
[ZONEshi] => To Stormhold Keep I
[MOBtombs] => Tombs
[LOClib2] => The Library
[MOBwrits] => Writs
)
)
I have also written some php that will generate output look like:
Code:
<Icon IconStyle="MOB" IconType="map" Location="377,296" Name="MOBbogfairies" pathfindlocation="589, -35, 560" ScrollExtent="10,10" Size="10,10" Tooltip="Bog Fairies " TreatAsButton="true" OnHoverIn="Parent.Parent.Parent.Parent.WC_Titlebar.QM_LocEntry.QM_LocText.LocalText=pathfindlocation Parent.Parent.Parent.Parent.WC_Titlebar.QM_LocEntry.QM_LocPath.pathfindlocation=pathfindlocation"/>
That was generated using the following variables:
$Name = "MOBbogfairies";
$PathfindLocation = "589,-35,560";
$IconType = "MOB";
$Description = "Bog Fairies";
$ZoneRect = "-844,358,-553,698";
you would just have to change it to pull the variables from the database. also i noticed in the code view for some reason it puts spaces in random spots on this forum, it doesnt have them when it is generated.