Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Reading and displaying xhtml ?

 
Punit Raizada
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

Was wondering if anyone has done this before ???

I have to read a webpage(xhtml) and display its contents in a MIDlet (probably a Form).

I know there are MIDlet browsers available commercially but i would prefer if i could write something on my own (for obvious economic reasons ).

Is it possible to do this using kxml parser ?

Appreciate your response
 
Roseanne Zhang
Ranch Hand
Posts: 1953
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If the webpage is in strict wml, which is also xml, it can be displayed on almost all phones.

If the webpage is in strict xhtml, which is also xml, it can be displayed on many phones.

If the webpage is in html, which is not xml, it can be displayed on a few phones.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!