01-29-2009, 04:45 AM
|
#18 (permalink)
|
|
The Contributor
Join Date: Jan 2009
Posts: 26
Thanks: 2
|
Hey I'm trying this script and it's working great so far. but what line do I need to write to navigate into and display the values of each primary profession
example:
Profession 1 name
skill#/maxskill#
Profession 2 name
skill#/maxskill#
I see that there is an "@attributes" in several lines of the entire dump but I dont know how to use
PHP Code:
$prof1 = $xml->characterInfo->character->professions->skills->0->@attributes["name"]
to display even the profession name without there being a massive error.
Any help would be appreciated.
|
|
|
|