I’d like to parse the href attribute value from a simple table…
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?