Welcome!

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

Reply
New Developer
Posts: 33
Registered: ‎04-12-2013
My Device: blackberry developer BB10ndk
My Carrier: 0
Accepted Solution

how to connect to xml online in html5

i need to connect to xml online in html5 and ahere i put it 

New Developer
Posts: 105
Registered: ‎06-11-2013
My Device: DEVELOPER
My Carrier: vodafone

Re: how to connect to xml online in html5

You should check the  config xml file and make necesssary changes as provided in the developer support forum.

******Blackberry Developer*******---Built for the Kill-----
#######Developer of @Sudoku#########
Retired
Posts: 1,382
Registered: ‎07-02-2009
My Device: BlackBerry Bold 9900
My Carrier: Bell

Re: how to connect to xml online in html5

Use XmlHttpRequest to make an HTTP request to download your remote XML file.  Here is a working demo that shows how to do this (this example uses JSON, not XML): 

http://blackberry.github.io/WebWorks-Samples/kitchenSink/html/browser/xhr.html

Follow me on Twitter: @n_adam_stanley
-------------------------------------------------------------------------------------------------------------------------
Your app doesn't work? Use BlackBerry remote web inspector to find out why.