Analysis and regeneration of hypermedia contents through Java and XML tools