views:

164

answers:

1

Hi,

I have the following requirement. I need to populate a javascript array with values reading from an input XML file using XSLT. I just need to read XML using XSLT and populate an array in javascript.

Can anybody has any idea regarding this, it would of great help to me. I am struck at this point. i can't proceed any further without getting this done.

Thanks, Deepty.K

+1  A: 

Why would you like to use a formatting language (XSLT) applied to a data format (XML) to get a data format (Javascript array)? The usual way would be to open the XML directly in Javascript using the XmlHttpRequest object and the returnXML method after successful loading.

Residuum