HTML parsing in j2me

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • charlesvc
    New Member
    • Oct 2007
    • 2

    HTML parsing in j2me

    Hallo

    I am working on web design on mobile. So i came to know for webpage in html or xhtml needs to be parsed to show on mobile

    So my doubt is the parsing will give only tags text and source etc. only, we have simulate it as a web page in canvas. I want to know whether my idea is correct or not.

    I found PocketLearn J2ME HTML Component. Here my doubt is whether the package webserver with this is available for dowload to use in our application or is there any html parsers are there in j2me.

    Or as i told first i will parse the html doucment using kxml parser and retrieves the attribute text name and source and will append in methods of command to create image like that.

    is it the only way or any other way, can you pls suggest me one
  • markmcgookin
    Recognized Expert Contributor
    • Dec 2006
    • 648

    #2
    Originally posted by charlesvc
    Hallo

    I am working on web design on mobile. So i came to know for webpage in html or xhtml needs to be parsed to show on mobile

    So my doubt is the parsing will give only tags text and source etc. only, we have simulate it as a web page in canvas. I want to know whether my idea is correct or not.

    I found PocketLearn J2ME HTML Component. Here my doubt is whether the package webserver with this is available for dowload to use in our application or is there any html parsers are there in j2me.

    Or as i told first i will parse the html doucment using kxml parser and retrieves the attribute text name and source and will append in methods of command to create image like that.

    is it the only way or any other way, can you pls suggest me one
    You could use kXML in "relaxed" mode to parse the HTML

    http://www.devx.com/xml/Article/11773

    Comment

    Working...