Hi All,
I have simple XML file which is listed below. I need to have JavaScript be able
to retrieve the value of Caption (Welcome To The Club!).
All my code is below.
Thanks!
XML:
<?xml version="1.0"?>
<root>
<Grid>
<Type>
<attr0>0 </attr0>
</Type>
<AutoResizeColumns>
<attr0>0 </attr0>
</AutoResizeColumns>
<AutoSearch>
<attr0>1 </attr0>
</AutoSearch>
<Caption>
<attr0>Welcome To The Club!</attr0>
</Caption>
</Grid>
</root>
Javascript:
I can get the WORD attr0 by having:
alert (o.responseXML.getElementsByTagName('Caption')[0].childNodes[0].nodeName);
but I can NOT get to the value.