Page 1 of 1

Goa Xml ?

Posted: Mon May 22, 2006 12:07 pm
by Luz
Hey!

Anyone home at this XML thingy? I tried to learn with WC3 pages and then get some GOA data on my testsite... no luck

Here“s the XML page :
http://camelot-europe.goa.com/herald/se ... os_srv.xml

I want to make a table on my HTML page to display realms and pop.
I tried my best but dont manage...

any small piece of code anyone has to help me get started?

Posted: Mon May 22, 2006 12:45 pm
by HappyG
[HTML]
<html>
<body>

<xml id="serverinfo" src="http://camelot-europe.goa.com/herald/se ... xml"></xml>

<table datasrc=#serverinfo datafld="realm" border=1>
<thead>
<td>Realm</td>
<td>Population %</td>
<td>Active Chars</td>
</thead>
<tr>
<td><span datafld="name"></span></td>
<td><span datafld="percent"></span></td>
<td><span datafld="activechars"></span></td>
</tr>
</table>

</body>
</html>
[/HTML]

This thingie is called Data Islands.
It's a quick solution if you don't know much about server-side languages (PHP, ASP, ...), but it only works in Internet Explorer. It can be displayed in Firefox with some Javacript aswell, but never done it myself, so dunno much about that :)

Posted: Wed May 24, 2006 1:19 pm
by Luz
hum tried but it made the entire frame blank.. must be missing something..

I will try again later to see if its something obvious I missed