Warning: Illegal string offset 'title' in /var/www/icms/custom_functions.php on line 171

Notice: Uninitialized string offset: 0 in /var/www/icms/custom_functions.php on line 171

Warning: Illegal string offset 'link' in /var/www/icms/custom_functions.php on line 172

Notice: Uninitialized string offset: 0 in /var/www/icms/custom_functions.php on line 172

Warning: Illegal string offset 'parent' in /var/www/icms/custom_functions.php on line 177

Notice: Uninitialized string offset: 0 in /var/www/icms/custom_functions.php on line 177
XML Parser for JavaScript - xml2array() < Scripts < JavaScript < Bin-Co

XML Parser for JavaScript - xml2array()

xml2array() Demos...

Parse the content of this site's RSS feed -
Parse my software database's XML file -
Parse this site's sitemap file - this is kinda big - around 600 lines -

loading...

Parse Results

Test area

Try to access elements of the array using commands like...


alert(arr['rss']['channel']['title']);
alert(dump(arr['rss']['channel']['item'][0]));
new_arr = parseFile('rss.xml');
...

Subscribe to Feed