From: BA Date: 2005-06-24T09:54:51+09:00 Subject: REXML libraries and parsing issues First off, let me say right up front that I am a newbie wrt Ruby. I am trying to parse an XML file, however, am having all kinds of trouble. I am using the REXML libraries and the sax2parser/listener. In the sax2listener, I can use the character/text part of the method, however, I cannot for the life of me figure out how to parse out JUST WHAT I WANT. Here is what the file looks like as follows: this is the text I need If I use :character, %w{PDAT} {|text| puts text} ... I get the text "this is the text I need" printed out. If I use the B110 or any combination, I cannot get it to work. Anyone know how to get the sax2parser/listener to parse the file and allow me to be selective about what I parse out of the file? Thanks for any/all help in this endeavor!!!!!!!!!! -Bob Angell- angellr@mac.com