#!/usr/bin/ruby
require 'rexml/document'
include REXML
documento = ARGV[0]
file = File.new(documento)
doc = Document.new(file)
doc.root.each_element('habitacion') { |h|
puts 'Habitacion: ' + h.attribute('id').to_s
}
miércoles, 1 de abril de 2009
AAP Bloque T2.5 ejercicio1:
Modificar alguno de los programas para que imprima las habitaciones, en vez de los muebles.
Suscribirse a:
Enviar comentarios (Atom)
If you decide to play live on line casino games on-line, you’ll discover that there are thousands of|there are actually 1000's of|there are hundreds of thousands of} choices. From hundreds of live on line casino sites to 1000's of live table on line casino games, the competition out might be} fairly fierce. Separating the wheat from the chaff takes some expertise and know-how – which is the place we obtainable in}. We can help you sol.edu.kg with something from finding the best live vendor on line casino sites and games to honing your live on line casino game methods. Scroll down to down to} see more of what we do here at LiveCasinos.com. No one enjoys an online on line casino with inconceivable navigation, gradual load speeds, or glitchy games, so we selected our list of the most effective on-line casinos based mostly partly on the user interface.
ResponderEliminar