Hi!

Following Element of an XML-File is given:

Code:
<element media="1" url="./folder1/1/2/2/index.html"/>
Now I´m trying to get the content in the index.html (the <p>-Tags) and write the result into an new xml-element.

With
Code:
var xmlDoc = new ActiveXObject("Msxml2.DOMDocument.3.0");
  var objNodeList;
  xmlDoc.async = false;
  xmlDoc.load("my.xml");
  	if (xmlDoc.parseError.errorCode != 0) {
      var myErr = xmlDoc.parseError;
       alert("You have error " + myErr.reason);
  	} else {
  	objNodeList = xmlDoc.getElementsByTagName("element");
      for (var i=0; i<objNodeList.length; i++) {
      alert(objNodeList.item(i).xml);
      }
	}
I get the tag element, but how do I get the content of the index.html dynamically ?

Thanx for any help!
AJ