Hi
I try to parse an XML Document with the following commands:
response = http.responseXM L.documentEleme nt;
up_since =response.getEl ementsByTagName ('up_since')[0].firstChild.dat a;
So I try to read out the value for up since, but then I get the error
message
Error: response.getEle mentsByTagName( "up_since")[0] has no properties
Source File: http://localhost/BabysteptestXML.htm
Line: 28
The XML Document generated by my CGI PRogramm looks like this:
<?xml
version="1.0"?> <engine_status> <up_since>11243 57455</up_since><up_du ration>16363</up_duration><co nnected_users>0 </connected_users ><active_users> 0</active_users><a llowed_users>1</allowed_users>< verification_ma trix><tr><td>sr </td><td>kj</td><td>bc</td><td>tg</td><td>pf</td></tr><tr><td>ph</td><td>gt</td><td>cq</td><td>fk</td><td>pk</td></tr><tr><td>hm</td><td>tc</td><td>rj</td><td>ee</td><td>tb</td></tr><tr><td>se</td><td>gs</td><td>fk</td><td>ag</td><td>hg</td></tr></verification_ma trix><gateway_a ddress>geldwolf 2.trispen.com</gateway_address ><company>trisp en</company><admin_ email></admin_email></engine_status>
If I enter the codefragment:
alert(http.resp onseXML.documen tElement.firstC hild.nodeValue) ;
I got the error message: XML Parsing Error: xml processing instruction
not at start of external entity. Anyone encountered this problem before
and knows what it does mean?
Cheers for Hints!