Converting HTML to XML in Ruby

R

Rob

How are people converting HTML to XML in Ruby?

I'm looking for Ruby only code to do this. Has anyone used Yoshida
Masato's ymHTML (1)?

I'm writing a HTTPCache Ruby gem, and thought it would be useful to add
an option to convert HTML to XML.

Until now I've been converting HTML to XML by calling out to John
Cowan's TagSoup (2), but it's written in Java and hence must be run on
the jvm.

Rob

1. <http://www.yoshidam.net/Ruby.html#ymHTML>
2. <http://mercury.ccil.org/~cowan/XML/tagsoup/>

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,189
Members
46,735
Latest member
HikmatRamazanov

Latest Threads

Top