I've written an article with sample code that developers might find useful. It outlines how to add a browser plugin that uses the XML parser for interpreting scripting commands returned from the server.
http://thebogles.com/blog/blackberry...xml-scripting/