Hello everyone
I’ve been trying to get some attrubutes from an xml file, but cant seem to get the navigation right.
I need the path and extpath from this xml file.
<?xml version="1.0" ?>
<data>
<clientData>
<firmName></firmName>
<firmVideo></firmVideo>
</clientData>
<clientBanner timer="6" fadetime="2" framerate="24" fadetype="2">
<banner bsize="3" path="1.png" extpath="http://www.test.com" />
</clientBanner>
</data>
I’ve been trying "this.firstChild.firstChild.nextSibling.firstChild.childNodes[0].attributes.path; but dosent give me anything.
Anyone who can help`?
Thanks in advance.