SummersRemote / xmlToJSON

simple javascript utility for converting xml into json

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

problem invoking "parseString" function

fonsoccs opened this issue · comments

Hi,

I'm trying to use your library to convert an XML I get with ajax in a WEB-development.

The browser finds the js file on the server, but when I'm going to use the xmlToJSON.parseString, it's says it's not a function.

Looking the js file of the library, I think the function it's not been applied o added to the xmlToJSON object.
screenshot - 04042014 - 09 09 35 am

Thanks for catching that. There is an error in the object that can hide the methods. I have an update to the object creation and will push it later today.

Changed object pattern. Works now.