Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

New Developer
Posts: 2
Registered: ‎07-31-2009
My Device: Not Specified

How can i manipulate XML with javascrip in BlackBerry ? Is it possible ?

[ Edited ]

      I try to use DOMParser to create a XMLDocument object, but in the BlackBerry looks like DOMParser doesn´t exist. 


     javascript  code :  var parser = new DOMParser();
                               var xmlDoc = parser.parseFromString("<dados/>","text/xml");


In browser, shows : first alert : [object DOMParser] 
                             second alert : [object XMLDocument].

But nothing happens on BlackBerry. (4.6)

I need to navigate in the XMLDocument to work with Ajax (XMLHttpRequest) 


How can i do this ?


Thank´s a lot

Message Edited by domingosc on 08-06-2009 02:18 PM