I'd like to parse the href attribute value from a simple table...
<tr><td><a href="url">text
parser.listen( :characters, %w{ td, a } ) {|text|
puts "text=" << text;
}
the above works fine...
although the below does not work...
parser.listen( :attlistdecl, %w{ td, a } ) {|attribute_name,
attribute_value|
puts "url=" << attribute_value;
}
any suggestions?
···
--
Posted via http://www.ruby-forum.com/.