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
Trusted Contributor
Posts: 236
Registered: ‎07-28-2010
My Device: Not Specified
My Carrier: Software Developer

How to design SAXParsing in WebWorks development for playbook

Hi All,

             I am a bb developer using java , i developed an native application for 4.6 O.S version devices in that i used SAXParsing as backend part and UI part designed by bb API's. if same application i want to develope for playbook using WebWorks developement then what is the option for designing backend which is equivalent to SAXParsing.

 

Thanks to All

Retired
Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: How to design SAXParsing in WebWorks development for playbook

Hi maanbhati,

 

Is there a specific reason on why you require SAX parsing?  JavaScript and AJAX supports XML parsing and JSON parsing by default.

 

 

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter
Trusted Contributor
Posts: 236
Registered: ‎07-28-2010
My Device: Not Specified
My Carrier: Software Developer

Re: How to design SAXParsing in WebWorks development for playbook

then how to do XML parsing using javascript

Highlighted
Retired
Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: How to design SAXParsing in WebWorks development for playbook

Here is a good page describing different ways to parse XML

http://www.w3schools.com/dom/dom_parser.asp

 

Unlike the notice in that page about the inability to do cross origin AJAX calls, WebWorks allows for this as long as you whitelist the origin/domain you wish to access

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter