Hi!
...well, actually I have an object which looks like this:
object(AleParserXMLElement)#39 (4) {
["name:private"]=>
string(6) "rowset"
["data:private"]=>
object(SimpleXMLElement)#42 (2) {
["@attributes"]=>
array(3) {
["name"]=>
string(6) "skills"
["key"]=>
string(6) "typeID"
["columns"]=>
string(36) "typeID,skillpoints,level,unpublished"
}
["row"]=>
array(185) {
[0]=>
object(SimpleXMLElement)#70 (1) {
["@attributes"]=>
array(3) {
["typeID"]=>
string(4) "3377"
["skillpoints"]=>
string(6) "256000"
["level"]=>
string(1) "5"
}
}
[1]=>
object(SimpleXMLElement)#23 (1) {
["@attributes"]=>
array(3) {
["typeID"]=>
string(5) "20342"
["skillpoints"]=>
string(1) "0"
["level"]=>
string(1) "0"
}
}
[2]=>
object(SimpleXMLElement)#9 (1) {
["@attributes"]=>
array(3) {
["typeID"]=>
string(5) "12096"
["skillpoints"]=>
string(1) "0"
["level"]=>
string(1) "0"
}
}
//etc.
}
}
["children:private"]=>
NULL
["rows:private"]=>
NULL
}
And I have an XML file which you can see here:
I would like to display those skills from my first object, but replace their typeID
values with typeName
from that xml file.
As you assume, I have no idea at all how to do that :) Please help!