O
old.Yomar
Guest
How do I display XML on our website? GOA says I need to learn the entire lingo to be able to do that, but sure a simple example must be enough to 'get the hang of it'. Can anybody tell me how he/she would display the data hidden in the XML below in simple HTML?
XML location: http://www.camelot-europe.com/herald/servers.xml
<server name="Excalibur" type="English" updated="05-04-2002 16:00:02">
<population>70</population>
<status>Up</status>
<relic name="Scabbard of Excalibur" type="Melee" realm="Albion">
<owner>Albion</owner>
</relic>
<keep name="Caer Boldiam" realm="Albion">
<owner>Albion</owner>
</keep>
</server>
What HTML would I need to turn this into:
Excalibur
English
05-04-2002 16:00:02
70
Up
Scabbard of Excalibur
Melee
Albion
Albion
Caer Boldiam
Albion
Albion
I think I can figure out the rest myself. All I need is an example that shows not only how to process the main parameters, but also the subparameters within (main parameter being for example server, it's subparameter "type" being "English"). Forgive the use of the words parameters/subparameters, I'm sure programmers call it differently.
XML location: http://www.camelot-europe.com/herald/servers.xml
<server name="Excalibur" type="English" updated="05-04-2002 16:00:02">
<population>70</population>
<status>Up</status>
<relic name="Scabbard of Excalibur" type="Melee" realm="Albion">
<owner>Albion</owner>
</relic>
<keep name="Caer Boldiam" realm="Albion">
<owner>Albion</owner>
</keep>
</server>
What HTML would I need to turn this into:
Excalibur
English
05-04-2002 16:00:02
70
Up
Scabbard of Excalibur
Melee
Albion
Albion
Caer Boldiam
Albion
Albion
I think I can figure out the rest myself. All I need is an example that shows not only how to process the main parameters, but also the subparameters within (main parameter being for example server, it's subparameter "type" being "English"). Forgive the use of the words parameters/subparameters, I'm sure programmers call it differently.