This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
 
Similar Threads
Sorting Data without a Database
Problem with displaying an histogramm with Cewolf
Packageing
Ruby in Practice - Ruby as a first choice
RAILS: Why should I?