wood burning stoves*
The moose likes Ruby and the fly likes create doc and add elements like tables and text Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Languages » Ruby
Bookmark "create doc and add elements like tables and text " Watch "create doc and add elements like tables and text " New topic
Author

create doc and add elements like tables and text

Kri
Greenhorn

Joined: Mar 05, 2008
Posts: 3
Hi,

I am new to ruby programming. I would like to know how to create a document and add elements like texts and tables. I also need to modify those and then write them into a file.

Is it possible to do it with Ruby?

Thanks,
K
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
Are you looking for something like http://wiki.github.com/hpricot/hpricot ?

By the way "Kri"

Please click on the My Profile link above and change your display name to meet the JavaRanch Naming Policy of using your real first and real last names.

Thanks

Balaji


Spritle Software Blogs
Kri
Greenhorn

Joined: Mar 05, 2008
Posts: 3
I need to create elements like text and tables in memory, should be able to edit, delete them and finally write it to a file.
I am purely using RUby.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: create doc and add elements like tables and text