• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

HTML-based web page into XML

 
Ranch Hand
Posts: 358
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is it possible to change an HTML-based web page into XML?
 
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

I would like to be optimistic and say yes,
it is possible to do it. But then, do really
want to, is the qstn. Generally the flow is
other way around. XML transformed into HTML.
While I donot know any tools of the top of
my head, I don't see any reason why someone
with that much time, can't generate such a tool.
My $0.02
- satya
 
Ranch Hand
Posts: 180
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes it is possible. You can use JTidy (http://sourceforge.net/projects/jtidy/) which is the Java port of the older Tidy HTML parser/cleaner ... in it there is a conversion tool for converting HTML into XHTML which is the valid XML version of HTML (for all intents and purposes). I have used it before and it is pretty handy.
Hope this helps
------------------
Chris Stehno (Sun Certified Programmer for the Java 2 Platform)
 
rani bedi
Ranch Hand
Posts: 358
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Chris.
 
reply
    Bookmark Topic Watch Topic
  • New Topic