L
Laurent Poulette
Hello,
i like to do the following with a javascript and it have to works with
IE and FF
<script>
var myXmlStr='<?xml version="1.0"
encoding="ISO-8859-1"?><PORTAIL><ACTIONS width="260"
height="150"><ACTION nom="connexion" visible="1"
tag="1"><URL>root/login.php</URL></ACTION></ACTIONS></PORTAIL>';
var myXML=new xmlObject(); //xmlObjet : to be defined
myXml.loadFromString(myXmlStr);
//some code to handle node and attributs
</script>
but i only can find exemple who load xml from a file or an url...
Is there a way to do that ?
Thank's
i like to do the following with a javascript and it have to works with
IE and FF
<script>
var myXmlStr='<?xml version="1.0"
encoding="ISO-8859-1"?><PORTAIL><ACTIONS width="260"
height="150"><ACTION nom="connexion" visible="1"
tag="1"><URL>root/login.php</URL></ACTION></ACTIONS></PORTAIL>';
var myXML=new xmlObject(); //xmlObjet : to be defined
myXml.loadFromString(myXmlStr);
//some code to handle node and attributs
</script>
but i only can find exemple who load xml from a file or an url...
Is there a way to do that ?
Thank's