I came across a project called simkin today that is really interesting. For a demonstration, go here. Reminds you of XUL, doesn't it? Only it uses XML files to allow an easy way to customise your application. XML isn't the only way that's available, as the script can be stored in something called a TreeNode file or in a database. What's more, it can be used in MIDP (see here), and it uses kXML, a lightweight XML parser that I'm also using for my current project.