salut a tous alors voila je cherche a récupérais le xml de l'armurerie de wow
bon mon script actuel est :
[fixed<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:spry="http://ns.adobe.com/spry">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Guilde Hall Was Full</title>
<script src="SpryAssets/xpath.js" type="text/javascript"></script>
<script src="SpryAssets/SpryData.js" type="text/javascript"></script>
<script type="text/javascript">
<!--
var ds1 = new Spry.Data.XMLDataSet("guilde.xml", "page/guildInfo/guild/members/character");
//-->
</script>
</head>
<body>
<div spry:region="ds1">
<table>
<tr>
<td>Name</td>
<td>Level</td>
<td>Class</td>
</tr>
<tr spry:repeat="ds1">
<td>{@name}</td>
<td>{@level}</td>
<td>{@class}</td>
</tr>
</table>
</div>
</body>
</html>][/fixed]
mais ici je lie le xml guilde.xml que j'ai moi même créé
en faisent un copier du code source de
http://eu.wowarmory.com/guild-info.xml?r=Cho%27gall&n=H...
mais si je mais cette adress dans mon script j'ai une belle erreur :
Exception caught while loading http://eu.wowarmory.com/guild-info.xml?r=Cho%27gall&n=Hell+was+full&p=1: [Exception... "Access to restricted URI denied" code: "1012" nsresult: "0x805303f4 (NS_ERROR_DOM_BAD_URI)" location: "http://hellwasfull.olympe-network.com/SpryAssets/SpryData.js Line: 85"]
comment faire un script affin que cela marche ?
ameliorais celui la pour que sa marche
ou cree un script qui va récupérais le code source de la page et la mais dans le xml avant d'arriver sur cette page ou ce script va le chercher le xml sur la page cree precedament !